summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/qemu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/qemu/Makefile')
-rw-r--r--arch/x86/cpu/qemu/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/cpu/qemu/Makefile b/arch/x86/cpu/qemu/Makefile
index e5ea92545e..b7dd5bd46c 100644
--- a/arch/x86/cpu/qemu/Makefile
+++ b/arch/x86/cpu/qemu/Makefile
@@ -2,8 +2,9 @@
#
# Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
-ifndef CONFIG_EFI_STUB
-obj-y += car.o dram.o
+ifndef CONFIG_$(SPL_)X86_64
+obj-y += car.o
endif
+obj-y += dram.o
obj-y += qemu.o
obj-$(CONFIG_QFW) += cpu.o e820.o