Skip to content

Commit 4317ee3

Browse files
committed
kbuild: remove redundant 'set -e' from sub_cmd_record_mcount
This is executed inside the if_changed_rule, which already sets 'set -e'. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent f3fd4a3 commit 4317ee3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/Makefile.build‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ sub_cmd_record_mcount = \
204204
recordmcount_source := $(srctree)/scripts/recordmcount.c \
205205
$(srctree)/scripts/recordmcount.h
206206
else
207-
sub_cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
207+
sub_cmd_record_mcount = perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
208208
"$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \
209209
"$(if $(CONFIG_64BIT),64,32)" \
210210
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)" \

0 commit comments

Comments
 (0)