diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2012-10-31 14:32:17 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2012-10-31 14:32:17 +0000 |
commit | 1bbd9cfa8f446a033dd566bd14b3cfff22b23dd7 (patch) | |
tree | 6d7f2718cbed16efb474cbb7aca6f5dd1832439a | |
parent | 9557829cedab1caf723629c0053691ca2086e80d (diff) |
Enable softraid boot support for cdboot(8) and pxeboot(8).
-rw-r--r-- | sys/arch/i386/stand/cdboot/Makefile | 5 | ||||
-rw-r--r-- | sys/arch/i386/stand/pxeboot/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/cdboot/Makefile b/sys/arch/i386/stand/cdboot/Makefile index 9cccf414b75..930fcbbfc9a 100644 --- a/sys/arch/i386/stand/cdboot/Makefile +++ b/sys/arch/i386/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2012/10/29 14:39:08 jsing Exp $ +# $OpenBSD: Makefile,v 1.14 2012/10/31 14:32:16 jsing Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -22,6 +22,7 @@ SRCS+= alloca.S debug_i386.S gidt.S SRCS+= cmd_i386.c dev_i386.c exec_i386.c gateA20.c machdep.c SRCS+= apmprobe.c bioscons.c biosdev.c debug.c diskprobe.c memprobe.c \ pciprobe.c ps2probe.c time.c +SRCS+= softraid.c .PATH: ${S}/stand/boot SRCS+= bootarg.c cmd.c vars.c @@ -33,6 +34,7 @@ SRCS+= close.c closeall.c cons.c cread.c dev.c disklabel.c dkcksum.c fstat.c \ lseek.c open.c read.c readdir.c stat.c SRCS+= elf32.c elf64.c loadfile.c SRCS+= cd9660.c ufs.c +SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c .PATH: ${S}/lib/libkern/arch/i386 SRCS+= moddi3.c divdi3.c qdivrem.c @@ -59,6 +61,7 @@ NOPROG= .include <bsd.prog.mk> +CPPFLAGS+=-DSOFTRAID CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS} CPPFLAGS+=-DLINKADDR=${LINKADDR} CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile index 0470fed4bcf..80398a130fc 100644 --- a/sys/arch/i386/stand/pxeboot/Makefile +++ b/sys/arch/i386/stand/pxeboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2012/10/29 14:39:08 jsing Exp $ +# $OpenBSD: Makefile,v 1.11 2012/10/31 14:32:16 jsing Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -23,6 +23,7 @@ SRCS+= cmd_i386.c exec_i386.c gateA20.c machdep.c SRCS+= apmprobe.c bioscons.c biosdev.c debug.c diskprobe.c memprobe.c \ pciprobe.c ps2probe.c time.c SRCS+= pxe_call.S pxe.c pxe_net.c +SRCS+= softraid.c .PATH: ${S}/stand/boot SRCS+= boot.c cmd.c vars.c bootarg.c @@ -36,6 +37,7 @@ SRCS+= close.c closeall.c cons.c cread.c dev.c disklabel.c dkcksum.c fstat.c \ SRCS+= elf32.c elf64.c loadfile.c SRCS+= nfs.c ufs.c tftp.c SRCS+= bootp.c ether.c netif.c rpc.c +SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c .PATH: ${S}/lib/libkern/arch/i386 SRCS+= moddi3.c divdi3.c qdivrem.c @@ -62,6 +64,7 @@ NOPROG= .include <bsd.prog.mk> +CPPFLAGS+=-DSOFTRAID CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS} -DLINKADDR=${LINKADDR} CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} |