aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2016-02-09 08:49:54 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2016-02-09 08:49:54 -0800
commit887464850f662b464ca7ddcd65762109ffb3639d (patch)
treeba9d429a09a2a804a361cb4a8b2333a42d544315
parent243b23fbf1f58577a2cfadc64b6f4c0d12f1491e (diff)
downloadefitools-887464850f662b464ca7ddcd65762109ffb3639d.tar.gz
enable arm builds
Now that the x86 specific thunk is removed, efitools should build for arm Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--Make.rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/Make.rules b/Make.rules
index f3251ff..6efa806 100644
--- a/Make.rules
+++ b/Make.rules
@@ -4,7 +4,13 @@ HELP2MAN = help2man
ARCH = $(shell uname -m | sed s/i.86/ia32/)
ifeq ($(ARCH),ia32)
ARCH3264 = -m32
-else ifneq ($(ARCH),x86_64)
+else ifeq ($(ARCH),x86_64)
+ARCH3264 =
+else ifeq ($(ARCH),aarch64)
+ARCH3264 =
+else ifeq ($(ARCH),arm)
+ARCH3264 = -m32
+else
$(error unknown architecture $(ARCH))
endif
INCDIR = -I$(TOPDIR)include/ -I/usr/include/efi -I/usr/include/efi/$(ARCH) -I/usr/include/efi/protocol