aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/tools
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2011-12-05 07:05:33 -0500
committerIngo Molnar <mingo@elte.hu>2011-12-05 08:53:13 -0500
commit1056c3e916f12cdd8042ab27dfccbb3a9e871df0 (patch)
tree6ad6a9c2f61fe463b2398659e1364a55c022473b /arch/x86/tools
parentf71c49e5e985897850406a152ab99001cfb86f2a (diff)
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@hitachi.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: yrl.pp-manager.tt@hitachi.com Link: http://lkml.kernel.org/r/20111205120533.15475.62047.stgit@cloud Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools')
-rw-r--r--arch/x86/tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
index 3255c3df67f4..d511aa97533a 100644
--- a/arch/x86/tools/Makefile
+++ b/arch/x86/tools/Makefile
@@ -25,8 +25,7 @@ posttest: $(obj)/test_get_len vmlinux $(obj)/insn_sanity
25 $(call cmd,posttest) 25 $(call cmd,posttest)
26 $(call cmd,sanitytest) 26 $(call cmd,sanitytest)
27 27
28hostprogs-y := test_get_len 28hostprogs-y += test_get_len insn_sanity
29hostprogs-y := insn_sanity
30 29
31# -I needed for generated C source and C source which in the kernel tree. 30# -I needed for generated C source and C source which in the kernel tree.
32HOSTCFLAGS_test_get_len.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/ 31HOSTCFLAGS_test_get_len.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/