Commit 5439f09f authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: remove redundant 'set -e' from cmd_* defines

These three cmd_* are invoked in the $(call cmd,*) form.

Now that 'set -e' moved to the 'cmd' macro, they do not need to
explicitly give 'set -e'.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 67126965
...@@ -134,7 +134,6 @@ cmd_gensymtypes_c = \ ...@@ -134,7 +134,6 @@ cmd_gensymtypes_c = \
quiet_cmd_cc_symtypes_c = SYM $(quiet_modtag) $@ quiet_cmd_cc_symtypes_c = SYM $(quiet_modtag) $@
cmd_cc_symtypes_c = \ cmd_cc_symtypes_c = \
set -e; \
$(call cmd_gensymtypes_c,true,$@) >/dev/null; \ $(call cmd_gensymtypes_c,true,$@) >/dev/null; \
test -s $@ || rm -f $@ test -s $@ || rm -f $@
...@@ -337,7 +336,6 @@ cmd_gensymtypes_S = \ ...@@ -337,7 +336,6 @@ cmd_gensymtypes_S = \
quiet_cmd_cc_symtypes_S = SYM $(quiet_modtag) $@ quiet_cmd_cc_symtypes_S = SYM $(quiet_modtag) $@
cmd_cc_symtypes_S = \ cmd_cc_symtypes_S = \
set -e; \
$(call cmd_gensymtypes_S,true,$@) >/dev/null; \ $(call cmd_gensymtypes_S,true,$@) >/dev/null; \
test -s $@ || rm -f $@ test -s $@ || rm -f $@
......
...@@ -33,7 +33,6 @@ MKSPEC := $(srctree)/scripts/package/mkspec ...@@ -33,7 +33,6 @@ MKSPEC := $(srctree)/scripts/package/mkspec
quiet_cmd_src_tar = TAR $(2).tar.gz quiet_cmd_src_tar = TAR $(2).tar.gz
cmd_src_tar = \ cmd_src_tar = \
set -e; \
if test "$(objtree)" != "$(srctree)"; then \ if test "$(objtree)" != "$(srctree)"; then \
echo >&2; \ echo >&2; \
echo >&2 " ERROR:"; \ echo >&2 " ERROR:"; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment