No longer install sys/nv.h and sys/cnv.h in lib/libnv/Makefile

Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy
instead. Compared to r336026 this has the minor advantage that it avoids
unncessary header installation when building the non-bootstrap libnv.

Reviewed By:	bdrewery, kevans
Approved By:	brooks (mentor)
Differential Revision: https://reviews.freebsd.org/D16187
This commit is contained in:
Alex Richardson 2018-07-16 10:57:26 +00:00
parent 01c66110e1
commit 63889bbde0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336335
2 changed files with 3 additions and 3 deletions

View file

@ -17,9 +17,6 @@ SRCS+= msgio.c
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

View file

@ -49,4 +49,7 @@ SRCS= dummy.c
SUBDIR= cross-build
.endif
# Needed to build config (since it uses libnv)
SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h
.include <bsd.lib.mk>