summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2015-04-11 10:23:24 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-04-11 11:48:56 +0200
commit4c6abc93c708762ae3f377eab8dbd357262cc432 (patch)
tree599c4160ed48372d05780e22f0fab24b33e3fa5f
parent8403daa2840cbfb06963228469922c549455aeda (diff)
build: add AARCH64 efi support
This is just plumbing to add ARCH_AARCH64 EFI support for makefile tests and defining the machine name.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 960b15d2cb..6713e036ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ AS_IF([test "x$enable_largefile" = "xno"], [AC_MSG_ERROR([--disable-largefile is
SET_ARCH(X86_64, x86_64*)
SET_ARCH(IA32, i*86*)
SET_ARCH(MIPS, mips*)
+SET_ARCH(AARCH64, aarch64*)
# i18n stuff for the PolicyKit policy files, heck whether intltool can be found, disable NLS otherwise
AC_CHECK_PROG(intltool_found, [intltool-merge], [yes], [no])
@@ -1160,6 +1161,9 @@ AM_COND_IF(ARCH_IA32, [
AM_COND_IF(ARCH_X86_64, [
EFI_MACHINE_TYPE_NAME=x64])
+AM_COND_IF(ARCH_AARCH64, [
+ EFI_MACHINE_TYPE_NAME=aa64])
+
AC_SUBST([EFI_ARCH])
AC_SUBST([EFI_MACHINE_TYPE_NAME])