diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-12-05 21:37:59 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-12-05 21:37:59 +0000 |
commit | 6fd96c93c1ff811e03dc4676c9fde93d11467a20 (patch) | |
tree | 24954ab5db66e46f1ac8277ba97de968d95db8d2 /stand/efi/boot1/Makefile | |
parent | 92a2b8900e886e3fdf131e21483e4f489402c430 (diff) | |
download | src-6fd96c93c1ff811e03dc4676c9fde93d11467a20.tar.gz src-6fd96c93c1ff811e03dc4676c9fde93d11467a20.zip |
Make sure we include the right path for skein.h, as well only include
the ZFS flags for zfs_modules.c. This keeps us from pulling from the
system or sysroot during buildworld.
Notes
Notes:
svn path=/head/; revision=326589
Diffstat (limited to 'stand/efi/boot1/Makefile')
-rw-r--r-- | stand/efi/boot1/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile index 731599e9863b..5443b4296a63 100644 --- a/stand/efi/boot1/Makefile +++ b/stand/efi/boot1/Makefile @@ -31,9 +31,10 @@ CWARNFLAGS.zfs_module.c += -Wno-unused-function SRCS= boot1.c self_reloc.c start.S ufs_module.c .if ${MK_ZFS} != "no" SRCS+= zfs_module.c -CFLAGS+= -I${ZFSSRC} -CFLAGS+= -I${SYSDIR}/cddl/boot/zfs -CFLAGS+= -DEFI_ZFS_BOOT +CFLAGS.zfs_module.c+= -I${ZFSSRC} +CFLAGS.zfs_module.c+= -I${SYSDIR}/cddl/boot/zfs +CFLAGS.zfs_module.c+= -I${SYSDIR}/crypto/skein +CFLAGS.zfs_module.c+= -DEFI_ZFS_BOOT LIBZFSBOOT= ${BOOTOBJ}/zfs/libzfsboot.a .endif |