summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-12-05 09:04:24 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-12 08:15:33 +0100
commitea6690415895ddb315d49e5f6361218ab41e2e33 (patch)
tree173d0e1bb00f5c8dd803eea925d421e802bf6e83
parent8c1e788a52a98bf4b404cdb985afec1adb162df5 (diff)
downloadOSELAS.Toolchain-ea6690415895ddb315d49e5f6361218ab41e2e33.tar.gz
fixup_ptxconfigs.sh: add aarch64 support
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xfixup_ptxconfigs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index 38c8a432..3126ee2 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -111,6 +111,9 @@ fixup()
arm*)
PTXCONF_ARCH_ARM=y
;;
+ aarch64*)
+ PTXCONF_ARCH_ARM64=y
+ ;;
i?86*)
PTXCONF_ARCH_I386=y
;;
@@ -190,6 +193,10 @@ fixup()
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=fpv4-sp-d16 --with-cpu=cortex-m4 --with-mode=thumb"
;;
+ aarch64-v8a-linux-gnu)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-abi=lp64 --with-arch=armv8-a"
+ ;;
+
i486-unknown-linux-gnu)
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-arch=i486"
;;