summaryrefslogtreecommitdiffstats
path: root/gnu-efi-3.0/apps/Makefile
diff options
context:
space:
mode:
authorBart Kuivenhoven <bemk@redhat.com>2014-03-10 12:42:25 +0100
committerBart Kuivenhoven <bemk@redhat.com>2014-03-12 13:17:24 +0100
commit54bfa07f00b25cd474be5ece09c85a211b1fdc2f (patch)
treefa37a6a80cebd00034809f12d7849663bc1341fc /gnu-efi-3.0/apps/Makefile
parentcaf95212ec0add94925fef02d8daa0b90a3baee3 (diff)
downloadgnu-efi-3.0-bemk.tar.gz
gnu-efi-3.0-bemk.tar.xz
gnu-efi-3.0-bemk.zip
Make: Compile for aarch64 ... sortabemk
This commit fixes the build process for the current limitations of objcopy. Objcopy still has the problem of not fully understanding relocations so while this compiles, it will not be loadable by uefi. Signed-off-by: Bart Kuivenhoven <bemk@redhat.com>
Diffstat (limited to 'gnu-efi-3.0/apps/Makefile')
-rw-r--r--gnu-efi-3.0/apps/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu-efi-3.0/apps/Makefile b/gnu-efi-3.0/apps/Makefile
index bd7e658..91d4172 100644
--- a/gnu-efi-3.0/apps/Makefile
+++ b/gnu-efi-3.0/apps/Makefile
@@ -59,7 +59,9 @@ LOADLIBES += $(shell $(CC) $(ARCH3264) -print-libgcc-file-name)
LOADLIBES += -T $(LDSCRIPT)
ifeq ($(ARCH),aarch64)
-FORMAT := pe-aarch64-little
+FORMAT := pei-aarch64-little
+#FORMAT := efi-app-aarch64
+PE_SUBSYSTEM := efi-app
else
FORMAT = efi-app-$(ARCH)
endif