git: 87d3aa53973f - main - stand: For ZFS build, add new directory

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 05:03:27 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=87d3aa53973fdfe1fa2ea64a8da9e29f4142d5af

commit 87d3aa53973fdfe1fa2ea64a8da9e29f4142d5af
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 23:34:23 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-09 04:49:55 +0000

    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
---
 stand/libsa/zfs/Makefile.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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