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-armv5-dsp.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-armv5-dsp.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv5-dsp.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv5-dsp.inc b/meta/conf/machine/include/arm/arch-armv5-dsp.inc index 0f64562f4b..0ae6411d40 100644 --- a/meta/conf/machine/include/arm/arch-armv5-dsp.inc +++ b/meta/conf/machine/include/arm/arch-armv5-dsp.inc | |||
@@ -5,6 +5,8 @@ require conf/machine/include/arm/arch-armv5.inc | |||
5 | 5 | ||
6 | # Little Endian | 6 | # Little Endian |
7 | AVAILTUNES += "armv5e armv5te" | 7 | AVAILTUNES += "armv5e armv5te" |
8 | ARMPKGARCH_tune-armv5e ?= "armv5" | ||
9 | ARMPKGARCH_tune-armv5te ?= "armv5" | ||
8 | TUNE_FEATURES_tune-armv5e ?= "armv5 dsp" | 10 | TUNE_FEATURES_tune-armv5e ?= "armv5 dsp" |
9 | TUNE_FEATURES_tune-armv5te ?= "armv5 dsp thumb" | 11 | TUNE_FEATURES_tune-armv5te ?= "armv5 dsp thumb" |
10 | PACKAGE_EXTRA_ARCHS_tune-armv5e = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5e" | 12 | PACKAGE_EXTRA_ARCHS_tune-armv5e = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5e" |
@@ -12,6 +14,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv5te = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5e ar | |||
12 | 14 | ||
13 | # Little Endian + VFP/DSP | 15 | # Little Endian + VFP/DSP |
14 | AVAILTUNES += "armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp" | 16 | AVAILTUNES += "armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp" |
17 | ARMPKGARCH_tune-armv5e-vfp ?= "armv5" | ||
18 | ARMPKGARCH_tune-armv5te-vfp ?= "armv5" | ||
19 | ARMPKGARCH_tune-armv5ehf-vfp ?= "armv5" | ||
20 | ARMPKGARCH_tune-armv5tehf-vfp ?= "armv5" | ||
15 | TUNE_FEATURES_tune-armv5e-vfp ?= "armv5 vfp dsp" | 21 | TUNE_FEATURES_tune-armv5e-vfp ?= "armv5 vfp dsp" |
16 | TUNE_FEATURES_tune-armv5te-vfp ?= "armv5 vfp dsp thumb" | 22 | TUNE_FEATURES_tune-armv5te-vfp ?= "armv5 vfp dsp thumb" |
17 | TUNE_FEATURES_tune-armv5ehf-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} callconvention-hard" | 23 | TUNE_FEATURES_tune-armv5ehf-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} callconvention-hard" |
@@ -23,6 +29,8 @@ PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thf-vf | |||
23 | 29 | ||
24 | # Big Endian | 30 | # Big Endian |
25 | AVAILTUNES += "armv5eb armv5teb" | 31 | AVAILTUNES += "armv5eb armv5teb" |
32 | ARMPKGARCH_tune-armv5eb ?= "armv5" | ||
33 | ARMPKGARCH_tune-armv5teb ?= "armv5" | ||
26 | TUNE_FEATURES_tune-armv5eb ?= "${TUNE_FEATURES_tune-armv5e} bigendian" | 34 | TUNE_FEATURES_tune-armv5eb ?= "${TUNE_FEATURES_tune-armv5e} bigendian" |
27 | TUNE_FEATURES_tune-armv5teb ?= "${TUNE_FEATURES_tune-armv5te} bigendian" | 35 | TUNE_FEATURES_tune-armv5teb ?= "${TUNE_FEATURES_tune-armv5te} bigendian" |
28 | PACKAGE_EXTRA_ARCHS_tune-armv5eb = "${PACKAGE_EXTRA_ARCHS_tune-armv5b} armv5eb" | 36 | PACKAGE_EXTRA_ARCHS_tune-armv5eb = "${PACKAGE_EXTRA_ARCHS_tune-armv5b} armv5eb" |
@@ -30,6 +38,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv5teb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tb} armv5eb | |||
30 | 38 | ||
31 | # Big Endian + VFP/DSP | 39 | # Big Endian + VFP/DSP |
32 | AVAILTUNES += "armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp" | 40 | AVAILTUNES += "armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp" |
41 | ARMPKGARCH_tune-armv5eb-vfp ?= "armv5" | ||
42 | ARMPKGARCH_tune-armv5teb-vfp ?= "armv5" | ||
43 | ARMPKGARCH_tune-armv5ehfb-vfp ?= "armv5" | ||
44 | ARMPKGARCH_tune-armv5tehfb-vfp ?= "armv5" | ||
33 | TUNE_FEATURES_tune-armv5eb-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} bigendian" | 45 | TUNE_FEATURES_tune-armv5eb-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} bigendian" |
34 | TUNE_FEATURES_tune-armv5teb-vfp ?= "${TUNE_FEATURES_tune-armv5te-vfp} bigendian" | 46 | TUNE_FEATURES_tune-armv5teb-vfp ?= "${TUNE_FEATURES_tune-armv5te-vfp} bigendian" |
35 | TUNE_FEATURES_tune-armv5ehfb-vfp ?= "${TUNE_FEATURES_tune-armv5eb-vfp} callconvention-hard" | 47 | TUNE_FEATURES_tune-armv5ehfb-vfp ?= "${TUNE_FEATURES_tune-armv5eb-vfp} callconvention-hard" |