From cbd29ef9f1bbd837f363eb3f80a2f6ed9400a87c Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 19 Jun 2018 19:12:15 +0200 Subject: [PATCH] x86: qemu: do not build car.o with start64.o car.o can only be used with start.o, not with start64.o. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- 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 1761244..b7dd5bd 100644 --- a/arch/x86/cpu/qemu/Makefile +++ b/arch/x86/cpu/qemu/Makefile @@ -2,6 +2,9 @@ # # Copyright (C) 2015, Bin Meng -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