aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/tools/Makefile
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-11-16 18:06:18 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-17 01:16:48 -0500
commitd65ff75fbe6f8ac7c17f18e4108521898468822c (patch)
treecd118586583d8699afb5153514224a9fd5c0268a /arch/x86/tools/Makefile
parent444a2a3bcd6d5bed5c823136f68fcc93c0fe283f (diff)
x86: Add verbose option to insn decoder test
Add verbose option to insn decoder test. This dumps decoded instruction when building kernel with V=1. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Jim Keniston <jkenisto@us.ibm.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> LKML-Reference: <20091116230618.5250.18762.stgit@harusame> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools/Makefile')
-rw-r--r--arch/x86/tools/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile
index 5e295d95dc25..4688f90ce5a2 100644
--- a/arch/x86/tools/Makefile
+++ b/arch/x86/tools/Makefile
@@ -1,6 +1,13 @@
1PHONY += posttest 1PHONY += posttest
2
3ifeq ($(KBUILD_VERBOSE),1)
4 postest_verbose = -v
5else
6 postest_verbose =
7endif
8
2quiet_cmd_posttest = TEST $@ 9quiet_cmd_posttest = TEST $@
3 cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len $(CONFIG_64BIT) 10 cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len -$(CONFIG_64BIT) $(posttest_verbose)
4 11
5posttest: $(obj)/test_get_len vmlinux 12posttest: $(obj)/test_get_len vmlinux
6 $(call cmd,posttest) 13 $(call cmd,posttest)