car.o can only be used with start.o, not with start64.o.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
v2
        rebase to current master
        shorten commit message
---
 arch/x86/cpu/qemu/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/x86/cpu/qemu/Makefile b/arch/x86/cpu/qemu/Makefile
index e5ea92545e3..b1daffd4a32 100644
--- a/arch/x86/cpu/qemu/Makefile
+++ b/arch/x86/cpu/qemu/Makefile
@@ -2,6 +2,9 @@
 #
 # Copyright (C) 2015, Bin Meng <[email protected]>
 
+ifndef CONFIG_$(SPL_)X86_64
+obj-y += car.o
+endif
-obj-y += car.o dram.o
+obj-y += dram.o
 obj-y += qemu.o
 obj-$(CONFIG_QFW) += cpu.o e820.o
-- 
2.17.1

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to