diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-16 18:06:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-17 07:16:48 +0100 |
commit | d65ff75fbe6f8ac7c17f18e4108521898468822c (patch) | |
tree | cd118586583d8699afb5153514224a9fd5c0268a /arch/x86/tools/Makefile | |
parent | 444a2a3bcd6d5bed5c823136f68fcc93c0fe283f (diff) | |
download | kernel-crypto-d65ff75fbe6f8ac7c17f18e4108521898468822c.tar.gz kernel-crypto-d65ff75fbe6f8ac7c17f18e4108521898468822c.tar.xz kernel-crypto-d65ff75fbe6f8ac7c17f18e4108521898468822c.zip |
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/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile index 5e295d95dc2..4688f90ce5a 100644 --- a/arch/x86/tools/Makefile +++ b/arch/x86/tools/Makefile @@ -1,6 +1,13 @@ PHONY += posttest + +ifeq ($(KBUILD_VERBOSE),1) + postest_verbose = -v +else + postest_verbose = +endif + quiet_cmd_posttest = TEST $@ - cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len $(CONFIG_64BIT) + cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len -$(CONFIG_64BIT) $(posttest_verbose) posttest: $(obj)/test_get_len vmlinux $(call cmd,posttest) |