Merge commit 'v2.6.32-rc5' into perf/probes
[firefly-linux-kernel-4.4.55.git] / arch / x86 / Makefile
index a012ee8ef803302642a5eac1daa791fe8f7c617a..ba7a6df4db92d389580da32f0bd4b4582abe5f31 100644 (file)
@@ -156,6 +156,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/$@