From fb2cbc56e0f7d27d116d0f6eca58f9e2620b4fc3 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 5 Feb 2018 14:37:08 +0100 Subject: fixup_ptxconfigs.sh: generalize cortexm3/cortexm4 to v7m/v7em Signed-off-by: Michael Olbrich --- fixup_ptxconfigs.sh | 12 ++++++------ 1 file 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) -- cgit v1.2.3