diff options
author | Víctor Enríquez <victor.quicksilver@gmail.com> | 2011-12-21 22:16:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 14:47:58 +0000 |
commit | 584b3c47ea8595c9aa4ce025d6c33c3f5f0d23f9 (patch) | |
tree | da9dd931ec532ab5cb2429e0174bc39db0896015 /meta/conf | |
parent | 627ef2bfc9171ec969623a4d8e2bbe57bea4f2d6 (diff) | |
download | poky-584b3c47ea8595c9aa4ce025d6c33c3f5f0d23f9.tar.gz |
arch-armv6: add tunes without vfp enabled
This work was made by Victor Enriquez and then modified by Denis Carikli
who was helped by Mark Hatle comments. And in the end modified by Martin
Jansa to support different ARMPKGARCH and removed explicit -novfp suffix.
The changes are for adding support to armv6-novfp, for building binaries
for armv6 machines without vfp, for example the htc dream.
(From OE-Core rev: 0733e2f8ad82b426c8c40ef753adb9431fa3c359)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Víctor Enríquez <victor.quicksilver@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv6.inc | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv6.inc b/meta/conf/machine/include/arm/arch-armv6.inc index 4c6548c9cd..ea6d73d0f7 100644 --- a/meta/conf/machine/include/arm/arch-armv6.inc +++ b/meta/conf/machine/include/arm/arch-armv6.inc | |||
@@ -8,32 +8,43 @@ MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" | |||
8 | require conf/machine/include/arm/arch-armv5-dsp.inc | 8 | require conf/machine/include/arm/arch-armv5-dsp.inc |
9 | 9 | ||
10 | # Little Endian | 10 | # Little Endian |
11 | AVAILTUNES += "armv6 armv6t armv6hf armv6thf" | 11 | AVAILTUNES += "armv6-novfp armv6t-novfp armv6 armv6t armv6hf armv6thf" |
12 | ARMPKGARCH_tune-armv6-novfp ?= "armv6" | ||
13 | ARMPKGARCH_tune-armv6t-novfp ?= "armv6" | ||
12 | ARMPKGARCH_tune-armv6 ?= "armv6" | 14 | ARMPKGARCH_tune-armv6 ?= "armv6" |
13 | ARMPKGARCH_tune-armv6t ?= "armv6" | 15 | ARMPKGARCH_tune-armv6t ?= "armv6" |
14 | ARMPKGARCH_tune-armv6hf ?= "armv6" | 16 | ARMPKGARCH_tune-armv6hf ?= "armv6" |
15 | ARMPKGARCH_tune-armv6thf ?= "armv6" | 17 | ARMPKGARCH_tune-armv6thf ?= "armv6" |
16 | TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" | 18 | TUNE_FEATURES_tune-armv6-novfp ?= "armv6" |
17 | TUNE_FEATURES_tune-armv6t ?= "${TUNE_FEATURES_tune-armv6} thumb" | 19 | TUNE_FEATURES_tune-armv6t-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} thumb" |
20 | TUNE_FEATURES_tune-armv6 ?= "${TUNE_FEATURES_tune-armv6-novfp} vfp" | ||
21 | TUNE_FEATURES_tune-armv6t ?= "${TUNE_FEATURES_tune-armv6t-novfp} vfp" | ||
18 | TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" | 22 | TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" |
19 | TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" | 23 | TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" |
20 | PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" | 24 | PACKAGE_EXTRA_ARCHS_tune-armv6-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5e} armv6" |
21 | PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" | 25 | PACKAGE_EXTRA_ARCHS_tune-armv6t-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5te} armv6 armv6t" |
26 | PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6 armv6-vfp" | ||
27 | PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6 armv6t armv6-vfp armv6t-vfp" | ||
22 | PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" | 28 | PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" |
23 | PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" | 29 | PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" |
24 | 30 | ||
25 | # Big Endian | 31 | # Big Endian |
26 | AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" | 32 | AVAILTUNES += "armv6b-novfp armv6tb-novfp armv6b armv6tb armv6hfb armv6thfb" |
33 | ARMPKGARCH_tune-armv6b-novfp ?= "armv6" | ||
34 | ARMPKGARCH_tune-armv6tb-novfp ?= "armv6" | ||
27 | ARMPKGARCH_tune-armv6b ?= "armv6" | 35 | ARMPKGARCH_tune-armv6b ?= "armv6" |
28 | ARMPKGARCH_tune-armv6tb ?= "armv6" | 36 | ARMPKGARCH_tune-armv6tb ?= "armv6" |
29 | ARMPKGARCH_tune-armv6hfb ?= "armv6" | 37 | ARMPKGARCH_tune-armv6hfb ?= "armv6" |
30 | ARMPKGARCH_tune-armv6thfb ?= "armv6" | 38 | ARMPKGARCH_tune-armv6thfb ?= "armv6" |
39 | TUNE_FEATURES_tune-armv6b-novfp ?= "${TUNE_FEATURES_tune-armv6-novfp} bigendian" | ||
40 | TUNE_FEATURES_tune-armv6tb-novfp ?= "${TUNE_FEATURES_tune-armv6t-novfp} bigendian" | ||
31 | TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" | 41 | TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" |
32 | TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" | 42 | TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" |
33 | TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6hf} bigendian" | 43 | TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6hf} bigendian" |
34 | TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6thf} bigendian" | 44 | TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6thf} bigendian" |
35 | PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp" | 45 | PACKAGE_EXTRA_ARCHS_tune-armv6b-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb} armv6b" |
36 | PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp" | 46 | PACKAGE_EXTRA_ARCHS_tune-armv6tb-novfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb} armv6b armv6tb" |
47 | PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b armv6b-vfp" | ||
48 | PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b armv6tb armv6b-vfp armv6tb-vfp" | ||
37 | PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" | 49 | PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" |
38 | PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" | 50 | PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" |
39 | |||