diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-30 14:13:54 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-04 09:00:34 +0200 |
commit | 7ec32876a47508d1808a7b98531b68378ffda0a4 (patch) | |
tree | 21f64aea265b72d6d1ae08faf8d1d3787624292b /arch/arm/tools | |
parent | f967e7b4b284e69d513eb8ae8a05b282ec9b91e9 (diff) | |
download | barebox-7ec32876a47508d1808a7b98531b68378ffda0a4.tar.gz barebox-7ec32876a47508d1808a7b98531b68378ffda0a4.tar.xz |
kbuild: do not delete $@ explicitly on failure
The .DELETE_ON_ERROR special target is specified in scripts/Kbuild.include
You do not need to delete $@ explicitly when the command fails.
GNU Make automatically does it.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/tools')
-rw-r--r-- | arch/arm/tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/tools/Makefile b/arch/arm/tools/Makefile index 67ae9e701b..bff825e58a 100644 --- a/arch/arm/tools/Makefile +++ b/arch/arm/tools/Makefile @@ -7,4 +7,4 @@ include/generated/mach-types.h: $(src)/gen-mach-types $(src)/mach-types $(Q)$(kecho) ' Generating $@' $(Q)mkdir -p $(dir $@) - $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } + $(Q)$(AWK) -f $^ > $@ |