summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2009-09-18 12:49:37 -0700
committerSam Ravnborg <sam@ravnborg.org>2009-09-20 12:27:44 +0200
commit66a570623be0d96130470a41cd38bce889b7e885 (patch)
tree600b5979b13da1294035565bab809af8d9af8279 /scripts
parent8f7f5c9fc2966704579ff93f459ffa458bca6fc2 (diff)
downloadop-kernel-dev-66a570623be0d96130470a41cd38bce889b7e885.zip
op-kernel-dev-66a570623be0d96130470a41cd38bce889b7e885.tar.gz
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 83eef0a..6e41b3b 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -206,7 +206,7 @@ cmd_modversions = \
endif
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)" \
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC)" "$(LD)" "$(NM)" "$(RM)" "$(MV)" \
"$(if $(part-of-module),1,0)" "$(@)";
OpenPOWER on IntegriCloud