Date: Sat, 18 Nov 2017 20:01:09 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325972 - head/share/mk Message-ID: <201711182001.vAIK19lc001378@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sat Nov 18 20:01:09 2017 New Revision: 325972 URL: https://svnweb.freebsd.org/changeset/base/325972 Log: Include Makefile.sys.inc if possible for top-level only. This will allow disabling some things like AUTO_OBJ early if not needed for the directory/targets, without putting special logic into share/mk/*.sys.mk. Sponsored by: Dell Modified: head/share/mk/src.sys.env.mk Modified: head/share/mk/src.sys.env.mk ============================================================================== --- head/share/mk/src.sys.env.mk Sat Nov 18 20:01:05 2017 (r325971) +++ head/share/mk/src.sys.env.mk Sat Nov 18 20:01:09 2017 (r325972) @@ -44,4 +44,7 @@ MAKESYSPATH:= ${.PARSEDIR:tA} .export MAKESYSPATH .endif +.if ${RELDIR:U} == "." && ${.MAKE.LEVEL} == 0 +.sinclude "${.CURDIR}/Makefile.sys.inc" +.endif .include <src.sys.obj.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711182001.vAIK19lc001378>