diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-10-02 17:22:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-26 10:01:22 +0000 |
commit | c5b670e4c9f020ed951d5499a888c50b1d703b62 (patch) | |
tree | d1dae38d451be9df347098ff15a5d2333ca0f73e /meta/conf/machine/include/arm/arch-armv6.inc | |
parent | 9be83df144a1675c8e7c9f0962e7e9e61ff767fd (diff) | |
download | poky-c5b670e4c9f020ed951d5499a888c50b1d703b62.tar.gz |
arm/arch-arm*: define ARMPKGARCH_tune-* for default tunes
* tune-foo is not valid override, for it to work I had to add
ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}"
but that doesn't work without value defined for every supported
DEFAULTTUNE value, otherwise it's expanded like this
TUNE_PKGARCH (${ARMPKGARCH_tune-armv5te}te).
(From OE-Core rev: 31e4f2dee990ee7f5d7491b65565e71d7d580209)
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/arm/arch-armv6.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv6.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv6.inc b/meta/conf/machine/include/arm/arch-armv6.inc index f0fee93d3f..451a008e3e 100644 --- a/meta/conf/machine/include/arm/arch-armv6.inc +++ b/meta/conf/machine/include/arm/arch-armv6.inc | |||
@@ -1,7 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv6" | 1 | DEFAULTTUNE ?= "armv6" |
2 | 2 | ||
3 | ARMPKGARCH ?= "armv6" | ||
4 | |||
5 | TUNEVALID[armv6] = "Enable instructions for ARMv6" | 3 | TUNEVALID[armv6] = "Enable instructions for ARMv6" |
6 | TUNECONFLICTS[armv6] = "armv4 armv5" | 4 | TUNECONFLICTS[armv6] = "armv4 armv5" |
7 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" | 5 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" |
@@ -11,6 +9,10 @@ require conf/machine/include/arm/arch-armv5-dsp.inc | |||
11 | 9 | ||
12 | # Little Endian | 10 | # Little Endian |
13 | AVAILTUNES += "armv6 armv6t armv6hf armv6thf" | 11 | AVAILTUNES += "armv6 armv6t armv6hf armv6thf" |
12 | ARMPKGARCH_tune-armv6 ?= "armv6" | ||
13 | ARMPKGARCH_tune-armv6t ?= "armv6" | ||
14 | ARMPKGARCH_tune-armv6hf ?= "armv6" | ||
15 | ARMPKGARCH_tune-armv6thf ?= "armv6" | ||
14 | TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" | 16 | TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" |
15 | TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" | 17 | TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" |
16 | TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" | 18 | TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" |
@@ -22,6 +24,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} a | |||
22 | 24 | ||
23 | # Big Endian | 25 | # Big Endian |
24 | AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" | 26 | AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" |
27 | ARMPKGARCH_tune-armv6b ?= "armv6" | ||
28 | ARMPKGARCH_tune-armv6tb ?= "armv6" | ||
29 | ARMPKGARCH_tune-armv6hfb ?= "armv6" | ||
30 | ARMPKGARCH_tune-armv6thfb ?= "armv6" | ||
25 | TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" | 31 | TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" |
26 | TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" | 32 | TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" |
27 | TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" | 33 | TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" |