lkml.org 
[lkml]   [2011]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 1/4] [BUGFIX] x86/tools: Fix Makefile to build all test tools
    From
    Date
    Fix arch/x86/tools/Makefile to compile both test tools
    correctly. This bug leads build error.

    Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    ---
    arch/x86/tools/Makefile | 3 +--
    1 files changed, 1 insertions(+), 2 deletions(-)

    diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
    index 3255c3d..d511aa9 100644
    --- a/arch/x86/tools/Makefile
    +++ b/arch/x86/tools/Makefile
    @@ -25,8 +25,7 @@ posttest: $(obj)/test_get_len vmlinux $(obj)/insn_sanity
    $(call cmd,posttest)
    $(call cmd,sanitytest)

    -hostprogs-y := test_get_len
    -hostprogs-y := insn_sanity
    +hostprogs-y += test_get_len insn_sanity

    # -I needed for generated C source and C source which in the kernel tree.
    HOSTCFLAGS_test_get_len.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/


    \
     
     \ /
      Last update: 2011-11-21 10:11    [W:0.033 / U:61.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site