diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-09-18 12:49:37 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-09-20 12:27:44 +0200 |
commit | 66a570623be0d96130470a41cd38bce889b7e885 (patch) | |
tree | 600b5979b13da1294035565bab809af8d9af8279 /scripts/Makefile.build | |
parent | 8f7f5c9fc2966704579ff93f459ffa458bca6fc2 (diff) | |
download | linux-3.10-66a570623be0d96130470a41cd38bce889b7e885.tar.gz linux-3.10-66a570623be0d96130470a41cd38bce889b7e885.tar.bz2 linux-3.10-66a570623be0d96130470a41cd38bce889b7e885.zip |
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/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 83eef0a82d9..6e41b3b6b15 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)" "$(@)"; |