summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-iwmmxt.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:01:22 +0000
commit2c300bccbdd7eb3572d0ecab0f10f291b290d359 (patch)
tree7e4b3bb0edaf894206c9541cdaf5baf359a32b1c /meta/conf/machine/include/tune-iwmmxt.inc
parentc5b670e4c9f020ed951d5499a888c50b1d703b62 (diff)
downloadpoky-2c300bccbdd7eb3572d0ecab0f10f291b290d359.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 (From OE-Core rev: cffda9a821a3b83a8529d643c567859e091c6846) 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-iwmmxt.inc')
-rw-r--r--meta/conf/machine/include/tune-iwmmxt.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-iwmmxt.inc b/meta/conf/machine/include/tune-iwmmxt.inc
index 14f59555a0..113d89f565 100644
--- a/meta/conf/machine/include/tune-iwmmxt.inc
+++ b/meta/conf/machine/include/tune-iwmmxt.inc
@@ -2,7 +2,6 @@
2# Please use tune-xscale for PXA255/PXA26x based processors. 2# Please use tune-xscale for PXA255/PXA26x based processors.
3 3
4DEFAULTTUNE ?= "iwmmxt" 4DEFAULTTUNE ?= "iwmmxt"
5ARMPKGARCH ?= "iwmmxt"
6 5
7require conf/machine/include/arm/arch-armv5-dsp.inc 6require conf/machine/include/arm/arch-armv5-dsp.inc
8 7
@@ -10,7 +9,6 @@ TUNEVALID[iwmmxt] = "Enable Intel PXA27x specific processor optimizations"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "iwmmxt", "-march=iwmmxt -mtune=iwmmxt", "", d)}" 9TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "iwmmxt", "-march=iwmmxt -mtune=iwmmxt", "", d)}"
11 10
12AVAILTUNES += "iwmmxt" 11AVAILTUNES += "iwmmxt"
12ARMPKGARCH_tune-iwmmxt = "iwmmxt"
13TUNE_FEATURES_tune-iwmmxt = "thumb iwmmxt" 13TUNE_FEATURES_tune-iwmmxt = "thumb iwmmxt"
14PACKAGE_EXTRA_ARCHS_tune-iwmmxt = "${PACKAGE_EXTRA_ARCHS_tune-armv5te} iwmmxt" 14PACKAGE_EXTRA_ARCHS_tune-iwmmxt = "${PACKAGE_EXTRA_ARCHS_tune-armv5te} iwmmxt"
15
16