No need to run 'make depend' with FAST_DEPEND logic in-tree.
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
f3e5ae828d
commit
b15d98fce2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user