From 54bfa07f00b25cd474be5ece09c85a211b1fdc2f Mon Sep 17 00:00:00 2001 From: Bart Kuivenhoven Date: Mon, 10 Mar 2014 12:42:25 +0100 Subject: Make: Compile for aarch64 ... sorta 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 --- gnu-efi-3.0/apps/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu-efi-3.0/apps/Makefile') 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 -- cgit