lkml.org 
[lkml]   [2009]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] [4/5] kbuild: Fail build if recordmcount.pl fails
    Date

    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>

    ---
    scripts/Makefile.build | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux-2.6.31-rc1-ak/scripts/Makefile.build
    ===================================================================
    --- linux-2.6.31-rc1-ak.orig/scripts/Makefile.build
    +++ linux-2.6.31-rc1-ak/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)" "$(@)";

    \
     
     \ /
      Last update: 2009-08-05 23:55    [W:0.046 / U:0.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site