Ver código fonte

[build] Delete incomplete targets if building fails for any reason

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 anos atrás
pai
commit
7ccd5b831a
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7
    0
      src/Makefile.housekeeping

+ 7
- 0
src/Makefile.housekeeping Ver arquivo

@@ -1106,6 +1106,13 @@ endif # defined(BIN)
1106 1106
 hci/keymap/keymap_%.c :
1107 1107
 	$(Q)$(PERL) $(GENKEYMAP) $* > $@
1108 1108
 
1109
+###############################################################################
1110
+#
1111
+# Force deletion of incomplete targets
1112
+#
1113
+
1114
+.DELETE_ON_ERROR :
1115
+
1109 1116
 ###############################################################################
1110 1117
 #
1111 1118
 # Clean-up

Carregando…
Cancelar
Salvar