projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb35561
)
x86: Don't build 32-bit efi files on x86_64
author
Simon Glass
<
[email protected]
>
Mon, 16 Jan 2017 14:04:12 +0000
(07:04 -0700)
committer
Bin Meng
<
[email protected]
>
Mon, 6 Feb 2017 03:38:46 +0000
(11:38 +0800)
These cannot be built in this mode, so drop them.
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
arch/x86/lib/Makefile
patch
|
blob
|
history
diff --git
a/arch/x86/lib/Makefile
b/arch/x86/lib/Makefile
index f737b7ecc2e25f01ac2e3e451fa9149911f82bfc..05e212f9bf3a6a0215150cefbd2f0d5244f235d4 100644
(file)
--- 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_COMPILE),)
+ifeq ($(CONFIG_$(SPL_)X86_64),)
extra-y += $(EFI_CRT0) $(EFI_RELOC)
endif
+endif