svn commit: r331255 - head
Ed Maste
emaste at FreeBSD.org
Tue Mar 20 18:02:22 UTC 2018
Author: emaste
Date: Tue Mar 20 18:02:21 2018
New Revision: 331255
URL: https://svnweb.freebsd.org/changeset/base/331255
Log:
Remove stale generated assym.s files after r331254
So that -DNO_CLEAN builds work.
This should be reverted after a sufficient transition period (perhaps 3
or 6 months).
Sponsored by: The FreeBSD Foundation
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Tue Mar 20 17:58:51 2018 (r331254)
+++ head/Makefile.inc1 Tue Mar 20 18:02:21 2018 (r331255)
@@ -1394,6 +1394,14 @@ INSTALLKERNEL= ${_kernel}
.endif
.endfor
+_cleankernobj_fast_depend_hack: .PHONY
+# 20170202 remove stale generated assym.s after renaming to .inc in r331254
+.if exists(${OBJTOP}/sys/${KERNCONF}/assym.s)
+ @echo Removing stale generated assym files
+ @rm -f ${OBJTOP}/sys/${KERNCONF}/assym.* \
+ ${OBJTOP}/sys/${KERNCONF}/.depend.assym.*
+.endif
+
${WMAKE_TGTS:N_worldtmp:Nbuild${libcompat}} ${.ALLTARGETS:M_*:N_worldtmp}: .MAKE .PHONY
#
@@ -1429,6 +1437,8 @@ buildkernel: .MAKE .PHONY
@echo ">>> stage 2.1: cleaning up the object tree"
@echo "--------------------------------------------------------------"
${_+_}cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR}
+.else
+ ${_+_}cd ${.CURDIR}; ${WMAKE} _cleankernobj_fast_depend_hack
.endif
.if !defined(NO_KERNELOBJ)
@echo
More information about the svn-src-head
mailing list