diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-31 09:24:08 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-06 01:46:51 +0100 |
commit | 172caf1993b7a6503a9f7faf589e2cf26eb1f219 (patch) | |
tree | 1bf9a94732270a001752735cf99fa038ebaedd21 /certs/Makefile | |
parent | kbuild: clean up rule_dtc_dt_yaml (diff) | |
download | linux-172caf1993b7a6503a9f7faf589e2cf26eb1f219.tar.xz linux-172caf1993b7a6503a9f7faf589e2cf26eb1f219.zip |
kbuild: remove redundant target cleaning on failure
Since commit 9c2af1c7377a ("kbuild: add .DELETE_ON_ERROR special
target"), the target file is automatically deleted on failure.
The boilerplate code
... || { rm -f $@; false; }
is unneeded.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'certs/Makefile')
-rw-r--r-- | certs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/Makefile b/certs/Makefile index 5d0999b9e21b..f4c25b67aad9 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -22,7 +22,7 @@ $(obj)/system_certificates.o: $(obj)/x509_certificate_list AFLAGS_system_certificates.o := -I$(srctree) quiet_cmd_extract_certs = EXTRACT_CERTS $(patsubst "%",%,$(2)) - cmd_extract_certs = scripts/extract-cert $(2) $@ || ( rm $@; exit 1) + cmd_extract_certs = scripts/extract-cert $(2) $@ targets += x509_certificate_list $(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE |