aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-07-08 23:34:23 +0000
committerWarner Losh <imp@FreeBSD.org>2022-07-09 04:49:55 +0000
commit87d3aa53973fdfe1fa2ea64a8da9e29f4142d5af (patch)
treedf71c89caa5d48639c83e0a166cc67bd738c6c89
parent2b766d5e5a73fce7120131d56bffc1715f71e7c9 (diff)
downloadsrc-87d3aa53973fdfe1fa2ea64a8da9e29f4142d5af.tar.gz
src-87d3aa53973fdfe1fa2ea64a8da9e29f4142d5af.zip
stand: For ZFS build, add new directory
OpenZFS is based on having a number of layers of include files that define things and include the next layer. Insert a later at the start for files in libsa/zfs/spl so we can override issues with upstream OpenZFS while we work to get the issues corrected upstream. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D35750
-rw-r--r--stand/libsa/zfs/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc
index f847af8949ff..411e0e4638d7 100644
--- a/stand/libsa/zfs/Makefile.inc
+++ b/stand/libsa/zfs/Makefile.inc
@@ -24,7 +24,8 @@ CFLAGS+= -I${LDRSRC}
CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
CFLAGS+= -I${SYSDIR}/crypto/skein
-ZFS_EARLY= -I${ZFSOSINC} \
+ZFS_EARLY= -I${ZFSSRC}/spl \
+ -I${ZFSOSINC} \
-I${ZFSOSINC}/spl \
-I${ZFSOSINC}/zfs