summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2008-06-06 15:25:25 +0200
committerMichael Brown2008-06-06 15:25:25 +0200
commitb5215803f0d40d6f6f69e5654e487cfce9d5eff6 (patch)
tree7f2ddfe2a31d99978c5c0e8ff5605828375bb05a /src/Makefile.housekeeping
parent[DHCP] Add "dhcp-server" setting to help end-user diagnostics (diff)
downloadipxe-b5215803f0d40d6f6f69e5654e487cfce9d5eff6.tar.gz
ipxe-b5215803f0d40d6f6f69e5654e487cfce9d5eff6.tar.xz
ipxe-b5215803f0d40d6f6f69e5654e487cfce9d5eff6.zip
[Makefile] Use .PRECIOUS instead of .SECONDARY for bin/%.tmp targets
Revert "Use .SECONDARY instead of .PRECIOUS for bin/%.tmp targets." This reverts commit de29e5a39c5ae0ca91b61eaa139a277943dfc7fc. .SECONDARY doesn't seem to work properly with the target patterns of implicit rules. In particular, a "make clean ; make bin/rtl8139.dsk" will correctly leave the bin/rtl8139.dsk.tmp file present when .PRECIOUS is used, but not when .SECONDARY is used. This is slightly irritating since we don't want the "do-not-delete-if-interrupted" semantics of .PRECIOUS, but it seems to be the best compromise.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index bbea2a56..32ad79a2 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -371,7 +371,7 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
$(Q)$(OBJDUMP) -ht $@ | $(SORTOBJDUMP) >> $(BIN)/$*.tmp.map
# Keep intermediate object file (useful for debugging)
-.SECONDARY : $(BIN)/%.tmp
+.PRECIOUS : $(BIN)/%.tmp
# Show a linker map for the specified target
#