aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2013-04-10 14:51:12 +0100
committerSteve Capper <steve.capper@linaro.org>2013-09-10 11:55:09 +0100
commit216510ca227db4f084cb348ed11487f68e69a3af (patch)
tree5bb1ea5c51788522c476fed4d298cd92e2618440 /Makefile
parent7649454b6fed355bf53517d5106ae211b533aced (diff)
downloadlibhugetlbfs-216510ca227db4f084cb348ed11487f68e69a3af.tar.gz
Aarch64 support.
This patch adds support for Aarch64. As with ARMv7, We do not add the xBT/xBDT style linker scripts as these have been deprecated in favour of adjusting the page sizes via command line parameter to ld. Signed-off-by: Steve Capper <steve.capper@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 48205af..0e61701 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,12 @@ TMPLIB32 = lib
ELF32 += armelf_linux_eabi
CUSTOM_LDSCRIPTS = no
else
+ifeq ($(ARCH),aarch64)
+CC64 = gcc
+ELF64 = aarch64elf
+TMPLIB64 = lib64
+CUSTOM_LDSCRIPTS = no
+else
ifeq ($(ARCH),i386)
CC32 = gcc
ELF32 = elf_i386
@@ -100,6 +106,7 @@ endif
endif
endif
endif
+endif
ifdef CC32
OBJDIRS += obj32