summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/crypto/Makefile2
-rw-r--r--images/Makefile2
-rw-r--r--scripts/Kbuild.include3
3 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/crypto/Makefile b/arch/arm/crypto/Makefile
index 372bf8d699..fda4eeafec 100644
--- a/arch/arm/crypto/Makefile
+++ b/arch/arm/crypto/Makefile
@@ -13,5 +13,3 @@ quiet_cmd_perl = PERL $@
$(src)/sha256-core.S_shipped: $(src)/sha256-armv4.pl
$(call cmd,perl)
-
-.PRECIOUS: $(obj)/sha256-core.S
diff --git a/images/Makefile b/images/Makefile
index c4b2a483fb..ca0ee2ba49 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -111,8 +111,6 @@ targets += $(patsubst %,%.pbl,$(pblb-y))
targets += $(patsubst %,%.s,$(pblb-y))
targets += $(foreach m, $(image-y), $(FILE_$(m)))
-SECONDARY: $(addprefix $(obj)/,$(targets))
-
# Images with full paths
image-y-path := $(addprefix $(obj)/,$(image-y))
# File will have a list of images generated
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 3b719492db..edfe27ed1b 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -282,3 +282,6 @@ endif
# delete partially updated (i.e. corrupted) files on error
.DELETE_ON_ERROR:
+
+# do not delete intermediate files automatically
+.SECONDARY: