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-armv7a.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-armv7a.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv7a.inc | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv7a.inc b/meta/conf/machine/include/arm/arch-armv7a.inc index 8d6ec25050..d4a1d02591 100644 --- a/meta/conf/machine/include/arm/arch-armv7a.inc +++ b/meta/conf/machine/include/arm/arch-armv7a.inc | |||
@@ -1,7 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7a" | 1 | DEFAULTTUNE ?= "armv7a" |
2 | 2 | ||
3 | ARMPKGARCH ?= "armv7a" | ||
4 | |||
5 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" | 3 | TUNEVALID[armv7a] = "Enable instructions for ARMv7-a" |
6 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" | 4 | TUNECONFLICTS[armv7a] = "armv4 armv5 armv6 armv7" |
7 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7a", "-march=armv7-a", "", d)}" | 5 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7a", "-march=armv7-a", "", d)}" |
@@ -12,6 +10,10 @@ require conf/machine/include/arm/feature-arm-neon.inc | |||
12 | 10 | ||
13 | # Little Endian base configs | 11 | # Little Endian base configs |
14 | AVAILTUNES += "armv7a armv7at armv7a-neon armv7at-neon" | 12 | AVAILTUNES += "armv7a armv7at armv7a-neon armv7at-neon" |
13 | ARMPKGARCH_tune-armv7a ?= "armv7a" | ||
14 | ARMPKGARCH_tune-armv7at ?= "armv7a" | ||
15 | ARMPKGARCH_tune-armv7a-neon?= "armv7a" | ||
16 | ARMPKGARCH_tune-armv7at-neon ?= "armv7a" | ||
15 | TUNE_FEATURES_tune-armv7a ?= "armv7a vfp" | 17 | TUNE_FEATURES_tune-armv7a ?= "armv7a vfp" |
16 | TUNE_FEATURES_tune-armv7at ?= "armv7a vfp thumb" | 18 | TUNE_FEATURES_tune-armv7at ?= "armv7a vfp thumb" |
17 | TUNE_FEATURES_tune-armv7a-neon ?= "armv7a vfp neon" | 19 | TUNE_FEATURES_tune-armv7a-neon ?= "armv7a vfp neon" |
@@ -23,6 +25,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv7at-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} arm | |||
23 | 25 | ||
24 | # VFP Tunes | 26 | # VFP Tunes |
25 | AVAILTUNES += "armv7ahf armv7athf armv7ahf-neon armv7athf-neon" | 27 | AVAILTUNES += "armv7ahf armv7athf armv7ahf-neon armv7athf-neon" |
28 | ARMPKGARCH_tune-armv7ahf ?= "armv7a" | ||
29 | ARMPKGARCH_tune-armv7athf ?= "armv7a" | ||
30 | ARMPKGARCH_tune-armv7ahf-neon?= "armv7a" | ||
31 | ARMPKGARCH_tune-armv7athf-neon ?= "armv7a" | ||
26 | TUNE_FEATURES_tune-armv7ahf ?= "${TUNE_FEATURES_tune-armv7a} callconvention-hard" | 32 | TUNE_FEATURES_tune-armv7ahf ?= "${TUNE_FEATURES_tune-armv7a} callconvention-hard" |
27 | TUNE_FEATURES_tune-armv7athf ?= "${TUNE_FEATURES_tune-armv7at} callconvention-hard" | 33 | TUNE_FEATURES_tune-armv7athf ?= "${TUNE_FEATURES_tune-armv7at} callconvention-hard" |
28 | TUNE_FEATURES_tune-armv7ahf-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} callconvention-hard" | 34 | TUNE_FEATURES_tune-armv7ahf-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} callconvention-hard" |
@@ -34,6 +40,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} | |||
34 | 40 | ||
35 | # Big Endian | 41 | # Big Endian |
36 | AVAILTUNES += "armv7ab armv7atb armv7ab-neon armv7atb-neon" | 42 | AVAILTUNES += "armv7ab armv7atb armv7ab-neon armv7atb-neon" |
43 | ARMPKGARCH_tune-armv7ab ?= "armv7a" | ||
44 | ARMPKGARCH_tune-armv7atb ?= "armv7a" | ||
45 | ARMPKGARCH_tune-armv7ab-neon?= "armv7a" | ||
46 | ARMPKGARCH_tune-armv7atb-neon ?= "armv7a" | ||
37 | TUNE_FEATURES_tune-armv7ab ?= "${TUNE_FEATURES_tune-armv7a} bigendian" | 47 | TUNE_FEATURES_tune-armv7ab ?= "${TUNE_FEATURES_tune-armv7a} bigendian" |
38 | TUNE_FEATURES_tune-armv7atb ?= "${TUNE_FEATURES_tune-armv7at} bigendian" | 48 | TUNE_FEATURES_tune-armv7atb ?= "${TUNE_FEATURES_tune-armv7at} bigendian" |
39 | TUNE_FEATURES_tune-armv7ab-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} bigendian" | 49 | TUNE_FEATURES_tune-armv7ab-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} bigendian" |
@@ -45,6 +55,10 @@ PACKAGE_EXTRA_ARCHS_tune-armv7atb-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} ar | |||
45 | 55 | ||
46 | # Big Endian + VFP | 56 | # Big Endian + VFP |
47 | AVAILTUNES += "armv7ahfb armv7athfb armv7ahfb-neon armv7athfb-neon" | 57 | AVAILTUNES += "armv7ahfb armv7athfb armv7ahfb-neon armv7athfb-neon" |
58 | ARMPKGARCH_tune-armv7ahfb ?= "armv7a" | ||
59 | ARMPKGARCH_tune-armv7athfb ?= "armv7a" | ||
60 | ARMPKGARCH_tune-armv7ahfb-neon?= "armv7a" | ||
61 | ARMPKGARCH_tune-armv7athfb-neon ?= "armv7a" | ||
48 | TUNE_FEATURES_tune-armv7ahfb ?= "${TUNE_FEATURES_tune-armv7ab} callconvention-hard" | 62 | TUNE_FEATURES_tune-armv7ahfb ?= "${TUNE_FEATURES_tune-armv7ab} callconvention-hard" |
49 | TUNE_FEATURES_tune-armv7athfb ?= "${TUNE_FEATURES_tune-armv7atb} callconvention-hard" | 63 | TUNE_FEATURES_tune-armv7athfb ?= "${TUNE_FEATURES_tune-armv7atb} callconvention-hard" |
50 | TUNE_FEATURES_tune-armv7ahfb-neon ?= "${TUNE_FEATURES_tune-armv7ab-neon} callconvention-hard" | 64 | TUNE_FEATURES_tune-armv7ahfb-neon ?= "${TUNE_FEATURES_tune-armv7ab-neon} callconvention-hard" |