diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-07 08:47:15 -0700 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-14 23:24:04 +0100 |
commit | 5bd828b5329ed9b7c85beae1e532daa710f22168 (patch) | |
tree | 7a2bbba51e7b6c0a076753fec0d362ff82ff506f /arch/x86/lib/Makefile | |
parent | 2dcd4e9ee1b6dc0f0ba1d89a7af3987ea47dda23 (diff) | |
download | u-boot-5bd828b5329ed9b7c85beae1e532daa710f22168.zip u-boot-5bd828b5329ed9b7c85beae1e532daa710f22168.tar.gz u-boot-5bd828b5329ed9b7c85beae1e532daa710f22168.tar.bz2 |
efi: x86: Adjust EFI files support efi_loader
Add compiler flags and make a few minor adjustments to support the efi
loader.
Signed-off-by: Simon Glass <sjg@chromium.org>
[agraf: Add Kconfig dep]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r-- | arch/x86/lib/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index aad6555..ff402dc 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -61,4 +61,9 @@ AFLAGS_crt0_x86_64_efi.o += -fpic -fshort-wchar extra-$(CONFIG_EFI_STUB_32BIT) += crt0_ia32_efi.o reloc_ia32_efi.o extra-$(CONFIG_EFI_STUB_64BIT) += crt0_x86_64_efi.o reloc_x86_64_efi.o + +endif + +ifneq ($(CONFIG_EFI_STUB)$(CONFIG_CMD_BOOTEFI_HELLO),) +extra-y += $(EFI_CRT0) $(EFI_RELOC) endif |