From: Simon Glass Date: Sat, 19 Nov 2016 13:25:37 -0700 Subject: [U-Boot] [PATCH v2 48/63] x86: Don't build 32-bit efi files on x86_64 In-Reply-To: <1479587152-25065-1-git-send-email-sjg@chromium.org> References: <1479587152-25065-1-git-send-email-sjg@chromium.org> Message-ID: <1479587152-25065-49-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de These cannot be built in this mode, so drop them. Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/lib/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index e2dce06..c4f6e79 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -48,7 +48,9 @@ OBJCOPYFLAGS := --prefix-symbols=__normal_ $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE $(call if_changed,objcopy) +ifeq ($(CONFIG_$(SPL_)X86_64),) obj-$(CONFIG_EFI_APP) += crt0_ia32_efi.o reloc_ia32_efi.o +endif ifneq ($(CONFIG_EFI_STUB),) @@ -68,5 +70,7 @@ extra-$(CONFIG_EFI_STUB_64BIT) += crt0_x86_64_efi.o reloc_x86_64_efi.o endif ifneq ($(CONFIG_EFI_STUB)$(CONFIG_CMD_BOOTEFI_HELLO),) +ifeq ($(CONFIG_$(SPL_)X86_64),) extra-y += $(EFI_CRT0) $(EFI_RELOC) endif +endif -- 2.8.0.rc3.226.g39d4020