[build] Display commands for dependency generation when building with V=1
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
79300e2ddf
commit
34a637f46f
|
@ -663,7 +663,7 @@ $(BIN)/clientcert.o : override CC := env CCACHE_DISABLE=1 $(CC)
|
||||||
define deps_template
|
define deps_template
|
||||||
@$(ECHO) " [DEPS] $(1)"
|
@$(ECHO) " [DEPS] $(1)"
|
||||||
@$(MKDIR) -p $(BIN)/deps/$(dir $(1))
|
@$(MKDIR) -p $(BIN)/deps/$(dir $(1))
|
||||||
@$(CPP) $(CFLAGS) $(CFLAGS_$(2)) $(CFLAGS_$(3)) -DOBJECT=$(3) \
|
$(Q)$(CPP) $(CFLAGS) $(CFLAGS_$(2)) $(CFLAGS_$(3)) -DOBJECT=$(3) \
|
||||||
-Wno-error -M $(1) -MG -MP | \
|
-Wno-error -M $(1) -MG -MP | \
|
||||||
sed 's/\.o\s*:/_DEPS +=/' > $(BIN)/deps/$(1).d
|
sed 's/\.o\s*:/_DEPS +=/' > $(BIN)/deps/$(1).d
|
||||||
endef
|
endef
|
||||||
|
|
Reference in New Issue