diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-11-10 23:54:58 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-11-10 23:54:58 +0000 |
| commit | 781c4d47f283dac2dc2000a4211b27529c2e0bf3 (patch) | |
| tree | c34d122e07fc79e82b67927146b697b1fbe64dea /sys/boot/userboot | |
| parent | 4728f534ff6d6644c6f80d2028503670859af576 (diff) | |
Notes
Diffstat (limited to 'sys/boot/userboot')
| -rw-r--r-- | sys/boot/userboot/test/Makefile | 1 | ||||
| -rw-r--r-- | sys/boot/userboot/userboot/Makefile | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/boot/userboot/test/Makefile b/sys/boot/userboot/test/Makefile index cfca6971d12c7..1bc66798aac81 100644 --- a/sys/boot/userboot/test/Makefile +++ b/sys/boot/userboot/test/Makefile @@ -10,6 +10,5 @@ PROG= test INTERNALPROG= CFLAGS+= -I${BOOTSRC}/userboot -CFLAGS+= -I${SYSDIR} .include <bsd.prog.mk> diff --git a/sys/boot/userboot/userboot/Makefile b/sys/boot/userboot/userboot/Makefile index ae0c35db94531..cbada8227ba09 100644 --- a/sys/boot/userboot/userboot/Makefile +++ b/sys/boot/userboot/userboot/Makefile @@ -36,8 +36,7 @@ SRCS+= vers.c CFLAGS+= -Wall CFLAGS+= -I${BOOTSRC}/userboot -CFLAGS+= -I${SYSDIR} -CFLAGS+= -ffreestanding -I. +CFLAGS+= -ffreestanding CWARNFLAGS.main.c += -Wno-implicit-function-declaration @@ -51,6 +50,7 @@ LIBZFSBOOT= ${BOOTOBJ}/zfs/libzfsboot.a .endif # Always add MI sources +HELP_FILES= # Disable .include "${BOOTSRC}/loader.mk" CFLAGS+= -I. DPADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBSA} |
