Date: Mon, 16 Jul 2018 10:57:27 +0000 (UTC) From: Alex Richardson <arichardson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336335 - in head: lib/libnv tools/build Message-ID: <201807161057.w6GAvRON023995@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arichardson Date: Mon Jul 16 10:57:26 2018 New Revision: 336335 URL: https://svnweb.freebsd.org/changeset/base/336335 Log: 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 Modified: head/lib/libnv/Makefile head/tools/build/Makefile Modified: head/lib/libnv/Makefile ============================================================================== --- head/lib/libnv/Makefile Mon Jul 16 10:32:11 2018 (r336334) +++ head/lib/libnv/Makefile Mon Jul 16 10:57:26 2018 (r336335) @@ -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 Modified: head/tools/build/Makefile ============================================================================== --- head/tools/build/Makefile Mon Jul 16 10:32:11 2018 (r336334) +++ head/tools/build/Makefile Mon Jul 16 10:57:26 2018 (r336335) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807161057.w6GAvRON023995>