Author: bdrewery
Date: Fri Nov 10 19:53:17 2017
New Revision: 325676
URL: https://svnweb.freebsd.org/changeset/base/325676
Log:
No need to run 'make depend' with FAST_DEPEND logic in-tree.
Sponsored by: Dell EMC Isilon
Modified:
head/share/mk/bsd.crunchgen.mk
Modified: head/share/mk/bsd.crunchgen.mk
==============================================================================
--- head/share/mk/bsd.crunchgen.mk Fri Nov 10 19:53:14 2017
(r325675)
+++ head/share/mk/bsd.crunchgen.mk Fri Nov 10 19:53:17 2017
(r325676)
@@ -122,7 +122,11 @@ ${OUTPUTS}: ${CONF}
${CRUNCHGEN} -fq -m ${OUTMK} -c ${OUTC} ${CONF}
# Avoid redundantly calling 'make objs' which we've done by our
# own dependencies.
- sed -i '' -e "s/^\(${PROG}:.*\) \$$(SUBMAKE_TARGETS)/\1/" ${OUTMK}
+ # Also avoid unneeded 'make depend' call.
+ sed -i '' \
+ -e "s/^\(${PROG}:.*\) \$$(SUBMAKE_TARGETS)/\1/" \
+ -e '/$$(CRUNCHMAKE) $$(BUILDOPTS).* \<depend\> &&.*/d' \
+ ${OUTMK}
# These 2 targets cannot use .MAKE since they depend on the generated
# ${OUTMK} above.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"