From 08fdcec10af20a713dfbd0fb441b59718606907c Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 29 Oct 2012 13:56:26 +0000 Subject: Enable softraid boot support in cdboot(8). --- sys/arch/amd64/stand/cdboot/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/amd64/stand/cdboot/Makefile b/sys/arch/amd64/stand/cdboot/Makefile index 5cb2bc02c01..a598a725903 100644 --- a/sys/arch/amd64/stand/cdboot/Makefile +++ b/sys/arch/amd64/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2012/10/09 11:43:22 jsing Exp $ +# $OpenBSD: Makefile,v 1.16 2012/10/29 13:56:25 jsing Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -21,6 +21,7 @@ INSTALL_STRIP= SRCS+= machdep.c dev_i386.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+= softraid.c .PATH: ${S}/stand/boot SRCS+= cmd.c vars.c bootarg.c @@ -33,6 +34,7 @@ SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c lseek.c \ open.c read.c stat.c cread.c readdir.c cons.c loadfile.c \ elf32.c elf64.c SRCS+= ufs.c cd9660.c +SRCS+= aes_xts.c explicit_bzero.c hmac_sha1.c pbkdf2.c rijndael.c sha1.c .PATH: ${S}/lib/libkern/arch/i386 ${S}/lib/libkern SRCS+= divdi3.c moddi3.c qdivrem.c @@ -58,6 +60,7 @@ NOPROG= .include +CPPFLAGS+=-DSOFTRAID CPPFLAGS+=-DBOOTMAGIC=$(BOOTMAGIC) ${DEBUGFLAGS} CPPFLAGS+=-DLINKADDR=${LINKADDR} CPPFLAGS+=-DSLOW -DSMALL -DNOBYFOUR -DNO_GZIP -DDYNAMIC_CRC_TABLE -- cgit v1.2.3