diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-11 17:05:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-26 10:01:22 +0000 |
commit | 2c300bccbdd7eb3572d0ecab0f10f291b290d359 (patch) | |
tree | 7e4b3bb0edaf894206c9541cdaf5baf359a32b1c /meta/conf/machine/include/tune-ep9312.inc | |
parent | c5b670e4c9f020ed951d5499a888c50b1d703b62 (diff) | |
download | poky-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-ep9312.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ep9312.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc index f10123f0dc..09db6b484d 100644 --- a/meta/conf/machine/include/tune-ep9312.inc +++ b/meta/conf/machine/include/tune-ep9312.inc | |||
@@ -1,5 +1,4 @@ | |||
1 | DEFAULTTUNE ?= "ep9312" | 1 | DEFAULTTUNE ?= "ep9312" |
2 | ARMPKGARCH ?= "ep9312" | ||
3 | 2 | ||
4 | require conf/machine/include/arm/arch-armv4.inc | 3 | require conf/machine/include/arm/arch-armv4.inc |
5 | 4 | ||
@@ -7,7 +6,6 @@ TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations" | |||
7 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ep9312", "-march=ep9312 -mtune=ep9312", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ep9312", "-march=ep9312 -mtune=ep9312", "", d)}" |
8 | 7 | ||
9 | AVAILTUNES += "ep9312" | 8 | AVAILTUNES += "ep9312" |
9 | ARMPKGARCH_tune-ep9312 = "ep9312" | ||
10 | TUNE_FEATURES_tune-ep9312 = "thumb ep9312" | 10 | TUNE_FEATURES_tune-ep9312 = "thumb ep9312" |
11 | PACKAGE_EXTRA_ARCHS_tune-ep9312 = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} ep9312" | 11 | PACKAGE_EXTRA_ARCHS_tune-ep9312 = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} ep9312" |
12 | |||
13 | |||