summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-05 14:37:08 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-08 15:41:06 +0100
commitfb2cbc56e0f7d27d116d0f6eca58f9e2620b4fc3 (patch)
treeae4d220ff0bd23f5d3dc9ad206e4608b8509bf25
parentf85d8a81fe8d95716b46d95ca84e4bca5cf20ee3 (diff)
downloadOSELAS.Toolchain-fb2cbc56e0f7d27d116d0f6eca58f9e2620b4fc3.tar.gz
fixup_ptxconfigs.sh: generalize cortexm3/cortexm4 to v7m/v7em
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-xfixup_ptxconfigs.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/fixup_ptxconfigs.sh b/fixup_ptxconfigs.sh
index 40c41c2..27af973 100755
--- a/fixup_ptxconfigs.sh
+++ b/fixup_ptxconfigs.sh
@@ -181,16 +181,16 @@ fixup()
PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s"
PTXCONF_GLIBC_CONFIG_EXTRA="--without-fp"
;;
- arm-cortexm3-uclinuxeabi)
- PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-cpu=cortex-m3 --with-mode=thumb"
+ arm-v7m-uclinuxeabi)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-arch=armv7-m --with-mode=thumb"
;;
- arm-cortexm3-eabi)
- PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-cpu=cortex-m3 --with-mode=thumb"
+ arm-v7m-eabi)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=soft --with-fpu=vfp --with-arch=armv7-m --with-mode=thumb"
;;
# hard, vfp
- arm-cortexm4-*eabihf)
- PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=fpv4-sp-d16 --with-cpu=cortex-m4 --with-mode=thumb"
+ arm-v7em-*eabihf)
+ PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=fpv4-sp-d16 --with-arch=armv7e-m --with-mode=thumb"
;;
aarch64-v8a-linux-gnu)