mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
kbuild: fail build if recordmcount.pl fails
When this script fails the build should fail too. Otherwise there are mysterious build failures later. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
8f7f5c9fc2
commit
66a570623b
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ cmd_modversions = \
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_FTRACE_MCOUNT_RECORD
|
ifdef CONFIG_FTRACE_MCOUNT_RECORD
|
||||||
cmd_record_mcount = perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
|
cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \
|
||||||
"$(if $(CONFIG_64BIT),64,32)" \
|
"$(if $(CONFIG_64BIT),64,32)" \
|
||||||
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \
|
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \
|
||||||
"$(if $(part-of-module),1,0)" "$(@)";
|
"$(if $(part-of-module),1,0)" "$(@)";
|
||||||
|
|
Loading…
Reference in a new issue