summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-11-30 09:28:50 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 17:36:44 +0100
commitbf3f0f3af37898594908daf4546e4edecdf8a857 (patch)
treeddafaa55888b18fb4960f42b762853725ca0ea80
parenta33bbd9f2aca24422f9cc178052a0988532f0be7 (diff)
downloadOSELAS.Toolchain-bf3f0f3af37898594908daf4546e4edecdf8a857.tar.gz
OSELAS.Toolchain-bf3f0f3af37898594908daf4546e4edecdf8a857.tar.xz
fixup_ptxconfigs: add gnu targets for hf toolchains
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xfixup_ptxconfigs.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index ae9cee1..57f959a 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -147,6 +147,11 @@ fixup()
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=softfp --with-fpu=vfp --with-cpu=arm1136jf-s"
;;
+ # hard, vfp
+ arm-1136jfs-linux-gnueabihf)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=vfp --with-cpu=arm1136jf-s"
+ ;;
+
arm-v5te_vfp-linux-gnueabi)
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=softfp --with-fpu=vfp --with-cpu=arm926ej-s"
;;
@@ -156,11 +161,21 @@ fixup()
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=softfp --with-fpu=neon --with-cpu=cortex-a8"
;;
+ # hard, neon
+ arm-cortexa8-linux-gnueabihf)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=neon --with-cpu=cortex-a8"
+ ;;
+
# softfp, neon
arm-cortexa9-linux-gnueabi)
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=softfp --with-fpu=neon --with-cpu=cortex-a9"
;;
+ # hard, neon
+ arm-cortexa9-linux-gnueabihf)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=neon --with-cpu=cortex-a9"
+ ;;
+
# soft, vfp
armeb-xscale-linux-gnueabi|armeb-xscale-linux-gnu)
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-cpu=xscale"