summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/arch-armv6.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-10-02 17:22:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-26 10:01:22 +0000
commitc5b670e4c9f020ed951d5499a888c50b1d703b62 (patch)
treed1dae38d451be9df347098ff15a5d2333ca0f73e /meta/conf/machine/include/arm/arch-armv6.inc
parent9be83df144a1675c8e7c9f0962e7e9e61ff767fd (diff)
downloadpoky-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.inc10
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 @@
1DEFAULTTUNE ?= "armv6" 1DEFAULTTUNE ?= "armv6"
2 2
3ARMPKGARCH ?= "armv6"
4
5TUNEVALID[armv6] = "Enable instructions for ARMv6" 3TUNEVALID[armv6] = "Enable instructions for ARMv6"
6TUNECONFLICTS[armv6] = "armv4 armv5" 4TUNECONFLICTS[armv6] = "armv4 armv5"
7TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" 5TUNE_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
13AVAILTUNES += "armv6 armv6t armv6hf armv6thf" 11AVAILTUNES += "armv6 armv6t armv6hf armv6thf"
12ARMPKGARCH_tune-armv6 ?= "armv6"
13ARMPKGARCH_tune-armv6t ?= "armv6"
14ARMPKGARCH_tune-armv6hf ?= "armv6"
15ARMPKGARCH_tune-armv6thf ?= "armv6"
14TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" 16TUNE_FEATURES_tune-armv6 ?= "armv6 vfp"
15TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" 17TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb"
16TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" 18TUNE_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
24AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" 26AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb"
27ARMPKGARCH_tune-armv6b ?= "armv6"
28ARMPKGARCH_tune-armv6tb ?= "armv6"
29ARMPKGARCH_tune-armv6hfb ?= "armv6"
30ARMPKGARCH_tune-armv6thfb ?= "armv6"
25TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" 31TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian"
26TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" 32TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian"
27TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" 33TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard"