summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-10-04 19:34:08 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2015-10-05 21:19:10 +0000
commitcc3284219460351c00a153b204a561a89bcec92e (patch)
tree6500f1a19d6e057e8241847b525f272cdfecac46 /src/cpu
parent3a54318856428cda41c5a45e41c4da727d352bf6 (diff)
downloadcoreboot-cc3284219460351c00a153b204a561a89bcec92e.tar.xz
cpu/Makefile.inc: Only inculde x86 subdir if ARCH_x86 is selected
There is no other guard to prevent this from being picked up when building for other architectures. Change-Id: I2039a289a4dd9970d5dd0f90d43d5d5c2a6d0a0b Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/11795 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/Makefile.inc b/src/cpu/Makefile.inc
index 92024f3a26..9220a8aa44 100644
--- a/src/cpu/Makefile.inc
+++ b/src/cpu/Makefile.inc
@@ -9,7 +9,7 @@ subdirs-y += imgtec
subdirs-y += intel
subdirs-y += ti
subdirs-y += via
-subdirs-y += x86
+subdirs-$(CONFIG_ARCH_X86) += x86
subdirs-$(CONFIG_CPU_QEMU_X86) += qemu-x86
$(eval $(call create_class_compiler,cpu_microcode,x86_32))