david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[build] Display commands for dependency generation when building with V=1

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Anton D. Kachalov 2012-08-27 00:24:23 +01:00 committed by Michael Brown
parent 79300e2ddf
commit 34a637f46f
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ $(BIN)/clientcert.o : override CC := env CCACHE_DISABLE=1 $(CC)
define deps_template
@$(ECHO) " [DEPS] $(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 | \
sed 's/\.o\s*:/_DEPS +=/' > $(BIN)/deps/$(1).d
endef