svn commit: r327858 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jan 12 01:09:44 UTC 2018
Author: bdrewery
Date: Fri Jan 12 01:09:41 2018
New Revision: 327858
URL: https://svnweb.freebsd.org/changeset/base/327858
Log:
Add a hack to disable AUTO_OBJ for 'old style' kernel builds.
Another solution would be to extend the Makefile.sys.inc idea, or a .no_obj
file, to more places but I would rather keep that limited to the top-level
build for now to not impact performance (statting a file in every make call)
or to bring unintended side-effects.
Reported by: jhb, imp
Sponsored by: Dell EMC Isilon
Modified:
head/share/mk/src.sys.obj.mk
Modified: head/share/mk/src.sys.obj.mk
==============================================================================
--- head/share/mk/src.sys.obj.mk Fri Jan 12 01:09:30 2018 (r327857)
+++ head/share/mk/src.sys.obj.mk Fri Jan 12 01:09:41 2018 (r327858)
@@ -132,7 +132,8 @@ __objdir:= ${MAKEOBJDIR}
.if ${.MAKE.LEVEL} == 0 && \
${MK_AUTO_OBJ} == "no" && empty(.MAKEOVERRIDES:MMK_AUTO_OBJ) && \
!defined(WITHOUT_AUTO_OBJ) && !make(showconfig) && !make(print-dir) && \
- !defined(NO_OBJ)
+ !defined(NO_OBJ) && \
+ empty(RELDIR:Msys/*/compile/*)
# Find the last existing directory component and check if we can write to it.
# If the last component is a symlink then recurse on the new path.
CheckAutoObj= \
More information about the svn-src-all
mailing list