summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2020-10-30 15:36:05 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2020-10-30 15:36:05 +0100
commit95144699d6d8b6b44722f54d0761f893e72e2fbe (patch)
treed7e1d48b7358c1652437f2727821b2c220622cac
parentddc5c36a1d8524e08377547b36fbb54fba718fc0 (diff)
downloadopenembedded-core-contrib-jansa/tune-test.tar.gz
openembedded-core-contrib-jansa/tune-test.tar.bz2
openembedded-core-contrib-jansa/tune-test.zip
tune/test.sh: arm9tdmi results with thumb (oe-core: "tune-arm9tdmi.inc: include arm9tdmi in PACKAGE_ARCHS")jansa/tune-test
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--scripts/tune/env.fake-arm9tdmi6
-rw-r--r--scripts/tune/env.fake-arm9tdmi.arm9tdmi6
-rw-r--r--scripts/tune/env.fake-arm9tdmi.armv4t6
-rw-r--r--scripts/tune/env.fake-arm9tdmi.armv4tb6
-rwxr-xr-xscripts/tune/test.sh2
5 files changed, 13 insertions, 13 deletions
diff --git a/scripts/tune/env.fake-arm9tdmi b/scripts/tune/env.fake-arm9tdmi
index bcdb983e29..a2c534d8c1 100644
--- a/scripts/tune/env.fake-arm9tdmi
+++ b/scripts/tune/env.fake-arm9tdmi
@@ -1,6 +1,6 @@
AVAILTUNES=" armv4 armv4t armv4b armv4tb arm9tdmi"
PACKAGE_ARCHS="all any noarch arm armv4 armv4t fake_arm9tdmi"
-TUNE_CCARGS=" -march=armv4t -marm"
+TUNE_CCARGS=" -march=armv4t -mthumb"
TUNE_FEATURES="arm armv4 thumb"
-TUNE_PKGARCH="armv4"
-export CC="arm-oe-linux-gnueabi-gcc -march=armv4t -marm --sysroot=SYSROOT"
+TUNE_PKGARCH="armv4t"
+export CC="arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb --sysroot=SYSROOT"
diff --git a/scripts/tune/env.fake-arm9tdmi.arm9tdmi b/scripts/tune/env.fake-arm9tdmi.arm9tdmi
index 5d0b9adbe0..3a8c1dd4d0 100644
--- a/scripts/tune/env.fake-arm9tdmi.arm9tdmi
+++ b/scripts/tune/env.fake-arm9tdmi.arm9tdmi
@@ -1,5 +1,5 @@
PACKAGE_ARCHS="all any noarch arm armv4 armv4t arm9tdmi arm9tdmit fake_arm9tdmi"
-TUNE_CCARGS=" -marm -mcpu=arm9tdmi"
+TUNE_CCARGS=" -mthumb -mcpu=arm9tdmi"
TUNE_FEATURES="arm thumb arm9tdmi"
-TUNE_PKGARCH="arm9tdmi"
-export CC="arm-oe-linux-gnueabi-gcc -marm -mcpu=arm9tdmi --sysroot=SYSROOT"
+TUNE_PKGARCH="arm9tdmit"
+export CC="arm-oe-linux-gnueabi-gcc -mthumb -mcpu=arm9tdmi --sysroot=SYSROOT"
diff --git a/scripts/tune/env.fake-arm9tdmi.armv4t b/scripts/tune/env.fake-arm9tdmi.armv4t
index 8ce9d17921..96040e9ee4 100644
--- a/scripts/tune/env.fake-arm9tdmi.armv4t
+++ b/scripts/tune/env.fake-arm9tdmi.armv4t
@@ -1,5 +1,5 @@
PACKAGE_ARCHS="all any noarch arm armv4 armv4t fake_arm9tdmi"
-TUNE_CCARGS=" -march=armv4t -marm"
+TUNE_CCARGS=" -march=armv4t -mthumb"
TUNE_FEATURES="arm armv4 thumb"
-TUNE_PKGARCH="armv4"
-export CC="arm-oe-linux-gnueabi-gcc -march=armv4t -marm --sysroot=SYSROOT"
+TUNE_PKGARCH="armv4t"
+export CC="arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb --sysroot=SYSROOT"
diff --git a/scripts/tune/env.fake-arm9tdmi.armv4tb b/scripts/tune/env.fake-arm9tdmi.armv4tb
index 900e3a76f7..2eb20c232b 100644
--- a/scripts/tune/env.fake-arm9tdmi.armv4tb
+++ b/scripts/tune/env.fake-arm9tdmi.armv4tb
@@ -1,5 +1,5 @@
PACKAGE_ARCHS="all any noarch armeb armv4b armv4tb fake_arm9tdmi"
-TUNE_CCARGS=" -march=armv4t -marm"
+TUNE_CCARGS=" -march=armv4t -mthumb"
TUNE_FEATURES="arm armv4 thumb bigendian"
-TUNE_PKGARCH="armv4b"
-export CC="armeb-oe-linux-gnueabi-gcc -march=armv4t -marm --sysroot=SYSROOT"
+TUNE_PKGARCH="armv4tb"
+export CC="armeb-oe-linux-gnueabi-gcc -march=armv4t -mthumb --sysroot=SYSROOT"
diff --git a/scripts/tune/test.sh b/scripts/tune/test.sh
index 51bb059ca1..8d1a4c16f0 100755
--- a/scripts/tune/test.sh
+++ b/scripts/tune/test.sh
@@ -8,7 +8,7 @@ export LC_ALL=C
TUNE_TEST_DIR=`dirname $0`
-INCLUDES_TO_TEST=`find openembedded-core/meta/conf/machine/include/ -name tune-arm9tdmi.inc | sort | sed 's%openembedded-core/meta/%%g'`
+INCLUDES_TO_TEST=`find openembedded-core/meta/conf/machine/include/ -name tune-\*.inc | sort | sed 's%openembedded-core/meta/%%g'`
INCLUDES=`echo "${INCLUDES_TO_TEST}" | wc -l`
INCLUDE=0