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
This commit is contained in:
Bryan Drewery 2017-11-18 20:01:09 +00:00
parent b00ea69b51
commit f778955213
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325972

View File

@ -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>