summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-29 14:20:11 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-29 14:20:11 +0000
commitf8d0f63fd2e3036cbe8b77e756a8c4ded2741e5f (patch)
treebbe53a90f84768ff3ef2e3d38e55caffa15e3802 /sys
parenta8a8d414627e5d6327bb91072d86116ecdd19487 (diff)
Enable softraid boot support in pxeboot(8).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/stand/pxeboot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/pxeboot/Makefile b/sys/arch/amd64/stand/pxeboot/Makefile
index 2f3f81ebc01..a6bf6f15c0e 100644
--- a/sys/arch/amd64/stand/pxeboot/Makefile
+++ b/sys/arch/amd64/stand/pxeboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2012/10/09 11:43:22 jsing Exp $
+# $OpenBSD: Makefile,v 1.13 2012/10/29 14:20:10 jsing Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -22,6 +22,7 @@ SRCS+= machdep.c exec_i386.c cmd_i386.c
SRCS+= gidt.S alloca.S biosdev.c bioscons.c gateA20.c \
memprobe.c diskprobe.c time.c ## biosprobe.c
SRCS+= pxe.c pxe_call.S pxe_net.c
+SRCS+= softraid.c
.PATH: ${S}/stand/boot
SRCS+= boot.c cmd.c vars.c bootarg.c
@@ -30,6 +31,7 @@ SRCS+= boot.c cmd.c vars.c bootarg.c
SRCS+= alloc.c exit.c getfile.c gets.c globals.c strcmp.c strlen.c \
strncmp.c memcmp.c memcpy.c memset.c printf.c snprintf.c \
strerror.c strncpy.c strtol.c strtoll.c ctime.c strlcpy.c strlcat.c
+SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c
SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \
read.c stat.c write.c cread.c readdir.c cons.c loadfile.c \
@@ -59,6 +61,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} -I${S}/stand/boot #-DCOMPAT_UFS