]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
build: add AARCH64 efi support
authorKoen Kooi <koen.kooi@linaro.org>
Sat, 11 Apr 2015 08:23:24 +0000 (10:23 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sat, 11 Apr 2015 09:48:56 +0000 (11:48 +0200)
This is just plumbing to add ARCH_AARCH64 EFI support for makefile tests
and defining the machine name.

configure.ac

index 960b15d2cbcb44861ae4d3d1de4bcef5602416bf..6713e036adf5a1879998b0f2df82ac0ba0027cfe 100644 (file)
@@ -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])