diff options
| author | Michael Brown | 2007-07-10 00:10:55 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-10 00:10:55 +0200 |
| commit | 976a8514cb38f43e506bca2f89112e4900c13d23 (patch) | |
| tree | a813ca26b5eefaba8a8b44f3c7fa47ff390aa583 | |
| parent | Always increase number of BIOS drives when registering (diff) | |
| download | ipxe-976a8514cb38f43e506bca2f89112e4900c13d23.tar.gz ipxe-976a8514cb38f43e506bca2f89112e4900c13d23.tar.xz ipxe-976a8514cb38f43e506bca2f89112e4900c13d23.zip | |
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
| -rw-r--r-- | src/Makefile.housekeeping | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 52c6a1b0e..c62650e12 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -119,7 +119,8 @@ endef define obj_template @$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) \ - -M $(1) -MT "$(4)_DEPS" -MG | tr : = >> $(2) + -M $(1) -MT "$(4)_DEPS" -MG -MP | \ + sed 's/_DEPS\s*:/_DEPS =/' >> $(2) @echo -e '\n$$(BIN)/$(4).o : $(1) $$(MAKEDEPS) $$($(4)_DEPS)' \ '\n\t$$(QM)echo " [BUILD] $$@"\n' \ '\n\t$$(RULE_$(3))\n' \ |
