summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
;;