AUTO_OBJ: Don't create .OBJDIR with 'make -n'.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-11-10 20:10:05 +00:00
parent ddf95e2ae8
commit 42b16bca0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325679

View File

@ -118,7 +118,7 @@ NO_META_IGNORE_HOST_HEADERS= 1
# This needs to be done early - before .PATH is computed
# Don't do this for 'make showconfig' as it enables all options where meta mode
# is not expected.
.if !make(showconfig) && !make(print-dir)
.if !make(showconfig) && !make(print-dir) && empty(.MAKEFLAGS:M-[nN])
.sinclude <auto.obj.mk>
.endif
.endif # ${MK_AUTO_OBJ} == "yes"