diff --git a/arch/arm/crypto/Makefile b/arch/arm/crypto/Makefile index 372bf8d..fda4eea 100644 --- a/arch/arm/crypto/Makefile +++ b/arch/arm/crypto/Makefile @@ -13,5 +13,3 @@ $(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 c4b2a48..ca0ee2b 100644 --- a/images/Makefile +++ b/images/Makefile @@ -111,8 +111,6 @@ 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 3b71949..edfe27e 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -282,3 +282,6 @@ # delete partially updated (i.e. corrupted) files on error .DELETE_ON_ERROR: + +# do not delete intermediate files automatically +.SECONDARY: