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
This commit is contained in:
parent
d52c29e7f2
commit
2e07e232a2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327858
@ -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= \
|
||||
|
Loading…
Reference in New Issue
Block a user