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:
parent
b00ea69b51
commit
f778955213
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325972
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user