[tip:perf/core] x86/tools: Fix Makefile to build all test tools

From: tip-bot for Masami Hiramatsu
Date: Mon Dec 05 2011 - 12:41:31 EST


Commit-ID: 1056c3e916f12cdd8042ab27dfccbb3a9e871df0
Gitweb: http://git.kernel.org/tip/1056c3e916f12cdd8042ab27dfccbb3a9e871df0
Author: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
AuthorDate: Mon, 5 Dec 2011 21:05:33 +0900
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Mon, 5 Dec 2011 14:53:13 +0100

x86/tools: Fix Makefile to build all test tools

Fix arch/x86/tools/Makefile to compile both test tools
correctly. This bug leads build error.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: yrl.pp-manager.tt@xxxxxxxxxxx
Link: 20111205120533.15475.62047.stgit@cloud">http://lkml.kernel.org/r/20111205120533.15475.62047.stgit@cloud
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/