x86: X86 instruction decoder build-time selftest
[deliverable/linux.git] / arch / x86 / Makefile
index 1b68659c41b4c4ce91a3ad7bee7aa8c532fc2168..5fe16bfd15ac949736623bef580953bb71f66a67 100644 (file)
@@ -154,6 +154,9 @@ all: bzImage
 KBUILD_IMAGE := $(boot)/bzImage
 
 bzImage: vmlinux
+ifeq ($(CONFIG_X86_DECODER_SELFTEST),y)
+       $(Q)$(MAKE) $(build)=arch/x86/tools posttest
+endif
        $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
        $(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot
        $(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@
This page took 0.035257 seconds and 5 git commands to generate.