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 <[email protected]>
1 parent f3fd4a3 commit 4317ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)