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-cortexa9.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-cortexa9.inc')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa9.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexa9.inc b/meta/conf/machine/include/tune-cortexa9.inc index a8e27ca87d..e2f78d3aa7 100644 --- a/meta/conf/machine/include/tune-cortexa9.inc +++ b/meta/conf/machine/include/tune-cortexa9.inc | |||
@@ -7,6 +7,9 @@ TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex | |||
7 | 7 | ||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon" | 9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon" |
10 | ARMPKGARCH_tune-cortexa9 = "cortexa9" | ||
11 | ARMPKGARCH_tune-cortexa9t = "cortexa9t" | ||
12 | ARMPKGARCH_tune-cortexa9-neon = "cortexa9-neon" | ||
10 | TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9" | 13 | TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9" |
11 | TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9" | 14 | TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9" |
12 | TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9" | 15 | TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9" |
@@ -16,6 +19,9 @@ PACKAGE_EXTRA_ARCHS_tune-cortexa9-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon | |||
16 | 19 | ||
17 | # VFP Tunes | 20 | # VFP Tunes |
18 | AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon" | 21 | AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon" |
22 | ARMPKGARCH_tune-cortexa9hf = "cortexa9hf" | ||
23 | ARMPKGARCH_tune-cortexa9thf = "cortexa9thf" | ||
24 | ARMPKGARCH_tune-cortexa9hf-neon = "cortexa9hf-neon" | ||
19 | TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9" | 25 | TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9" |
20 | TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9" | 26 | TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9" |
21 | TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9" | 27 | TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9" |