Index: head/lib/libnv/Makefile =================================================================== --- head/lib/libnv/Makefile +++ head/lib/libnv/Makefile @@ -17,9 +17,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: head/tools/build/Makefile =================================================================== --- head/tools/build/Makefile +++ head/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