cmd: efidebug: simplify get_guid_text()
[platform/kernel/u-boot.git] / scripts / Kbuild.include
index 13ebddd..b8969e2 100644 (file)
@@ -315,6 +315,12 @@ why =                                                                        \
 echo-why = $(call escsq, $(strip $(why)))
 endif
 
+# delete partially updated (i.e. corrupted) files on error
+.DELETE_ON_ERROR:
+
+# do not delete intermediate files automatically
+.SECONDARY:
+
 ifdef CONFIG_SPL_BUILD
 SPL_ := SPL_
 ifeq ($(CONFIG_TPL_BUILD),y)