No need to run 'make depend' with FAST_DEPEND logic in-tree.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
bdrewery 2017-11-10 19:53:17 +00:00
parent f3e5ae828d
commit b15d98fce2

View File

@ -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.