mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 20:24:27 +01:00
x86: Don't build 32-bit efi files on x86_64
These cannot be built in this mode, so drop them. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
fb355619b2
commit
e1b610b084
1 changed files with 4 additions and 0 deletions
|
|
@ -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_COMPILE),)
|
||||
ifeq ($(CONFIG_$(SPL_)X86_64),)
|
||||
extra-y += $(EFI_CRT0) $(EFI_RELOC)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue