aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-cortexm3.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-09-11 17:05:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-26 10:00:26 +0000
commitcffda9a821a3b83a8529d643c567859e091c6846 (patch)
tree3ce361f7f3e842fd5722dd15ab8f60e01cab9df7 /meta/conf/machine/include/tune-cortexm3.inc
parent31e4f2dee990ee7f5d7491b65565e71d7d580209 (diff)
downloadopenembedded-core-contrib-cffda9a821a3b83a8529d643c567859e091c6846.tar.gz
arch-arm: define different ARMPKGARCH when different CCARGS are used
* without this tune-xscale and tune-arm926ejs were both creating packages in armv5te feed, but each with different -mtune, with OEBasicHash enabled it was causing each package to rebuild with new -mtune after MACHINE switch, but that doesn't make sense with output stored in the same armv5te feed * this makes different feed for each -mtune, but more generic one to be selected with DEFAULTTUNE * tune-iwmmxt and tune-ep9312 were already using this, just move it bellow AVAILTUNES and use ARMPKGARCH_tune-foo syntax * tune-cortexr4 and tune-cortexm3 are using armv7r/armv7m as ARMPKGARCH because there isn't another tune to use the same -march Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-cortexm3.inc')
-rw-r--r--meta/conf/machine/include/tune-cortexm3.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc
index 20a3c655c0..72acdb5eb8 100644
--- a/meta/conf/machine/include/tune-cortexm3.inc
+++ b/meta/conf/machine/include/tune-cortexm3.inc
@@ -1,5 +1,4 @@
DEFAULTTUNE ?= "cortexm3"
-ARMPKGARCH ?= "armv7m"
require conf/machine/include/arm/arch-armv7a.inc
@@ -10,6 +9,7 @@ TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7m", "-march=armv7-m", "", d)}"
AVAILTUNES += "cortexm3"
+ARMPKGARCH_tune-cortexm3 = "armv7m"
TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3"
PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp"