Index: lib/libnv/Makefile =================================================================== --- lib/libnv/Makefile +++ lib/libnv/Makefile @@ -20,9 +20,6 @@ SRCS+= nvlist.c SRCS+= nvpair.c -INCSDIR= ${INCLUDEDIR}/sys -INCS= ${SRCTOP}/sys/sys/cnv.h ${SRCTOP}/sys/sys/nv.h - HAS_TESTS= SUBDIR.${MK_TESTS}+= tests Index: tools/build/Makefile =================================================================== --- tools/build/Makefile +++ tools/build/Makefile @@ -49,4 +49,7 @@ SUBDIR= cross-build .endif +# Needed to build config (since it uses libnv) +SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h + .include