summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-12-05 09:04:43 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-08 10:29:39 +0100
commit16671d5d4049b6441e430cae94dbe697de46ac06 (patch)
treec00acd89d896564ff11b72a9fe1118926acd8cc7
parent3a9c1ebcd5f73b88f3f55577c32ca83b306a95e1 (diff)
downloadOSELAS.Toolchain-16671d5d4049b6441e430cae94dbe697de46ac06.tar.gz
architecture: add aarch64 support
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/architecture.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/architecture.in b/rules/architecture.in
index 6f7729a..eb49311 100644
--- a/rules/architecture.in
+++ b/rules/architecture.in
@@ -4,6 +4,9 @@ choice
config ARCH_ARM
bool "arm "
+ config ARCH_ARM64
+ bool "arm64 "
+
config ARCH_M68K
bool "m68k "
@@ -34,6 +37,7 @@ endchoice
config ARCH
string
default "arm" if ARCH_ARM
+ default "arm64" if ARCH_ARM64
default "avr" if ARCH_AVR
default "avr32" if ARCH_AVR32
default "m68k" if ARCH_M68K
@@ -55,5 +59,5 @@ config GNU_TARGET
config SIZEOF_LONG_DOUBLE
string
default "12" if ARCH_I386
- default "16" if ARCH_X86_64
+ default "16" if ARCH_X86_64 || ARCH_ARM64
default "8"