diff options
author | Simon Glass <sjg@chromium.org> | 2016-11-07 18:47:10 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-11-15 01:24:04 +0300 |
commit | dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c (patch) | |
tree | 74f90abb47c2797ccbe52d642f6d6e3795251b67 /arch/arm/lib/Makefile | |
parent | c70f74a081c2005b0a4749cf8762fc14b7369ddb (diff) | |
download | u-boot-dd46eef2f6e0b7dce2e6bcd85ed8caca5a6b606c.tar.xz |
efi: arm: Add EFI app support
Add support for EFI apps on ARM. This includes start-up and relocation
code, plus a link script and some compiler setting changes.
Signed-off-by: Simon Glass <sjg@chromium.org>
[agraf: Remove whitespace change, add kconfig dep]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/arm/lib/Makefile')
-rw-r--r-- | arch/arm/lib/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index caa62c6355..a812306c25 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -92,3 +92,13 @@ AFLAGS_memset.o := -DMEMSET_NO_THUMB_BUILD AFLAGS_memcpy.o := -DMEMCPY_NO_THUMB_BUILD endif endif + +# For building EFI apps +CFLAGS_$(EFI_CRT0) := $(CFLAGS_EFI) +CFLAGS_REMOVE_$(EFI_CRT0) := $(CFLAGS_NON_EFI) + +CFLAGS_$(EFI_RELOC) := $(CFLAGS_EFI) +CFLAGS_REMOVE_$(EFI_RELOC) := $(CFLAGS_NON_EFI) + +extra-$(CONFIG_CMD_BOOTEFI_HELLO) += $(EFI_CRT0) $(EFI_RELOC) +extra-$(CONFIG_EFI) += $(EFI_CRT0) $(EFI_RELOC) |