diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-08-18 09:39:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:30 -0700 |
commit | e30a104c9c26ab47ba91939b585d113873cfb4c5 (patch) | |
tree | fc3d81ec1f24af25b09fb07ab445c223153c8bbe | |
parent | 1f26aa3ea53a865e2ac712172c464e7f0fc2ea61 (diff) | |
download | poky-e30a104c9c26ab47ba91939b585d113873cfb4c5.tar.gz |
tune: Add hard floating point variants of cortexa8 tunes
Enable machines or distros to select the hard floating point abi for cortexa8
machines. I left out the arm7a thumb+neon combinations as they were not
present in the original non-hf set.
(From OE-Core rev: c70ebd6f8ff34071febeb132c8bc4df220e328da)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Jason Kridner <jkridner@beagleboard.org>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/tune-cortexa8.inc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc index 02b560cecf..797f4482ec 100644 --- a/meta/conf/machine/include/tune-cortexa8.inc +++ b/meta/conf/machine/include/tune-cortexa8.inc | |||
@@ -5,12 +5,20 @@ require conf/machine/include/arm/arch-armv7a.inc | |||
5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" | 5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}" |
7 | 7 | ||
8 | AVAILTUNES += "cortexa8 cortexa8t" | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon" | ||
9 | TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8" | 10 | TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8" |
10 | TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8" | 11 | TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8" |
11 | TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-cortexa8} neon" | 12 | TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa8" |
12 | |||
13 | PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" | 13 | PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" |
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon}" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon}" |
16 | 16 | ||
17 | # VFP Tunes | ||
18 | AVAILTUNES += "cortexa8hf cortexa8thf cortexa8hf-neon" | ||
19 | TUNE_FEATURES_tune-cortexa8hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa8" | ||
20 | TUNE_FEATURES_tune-cortexa8thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa8" | ||
21 | TUNE_FEATURES_tune-cortexa8hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8" | ||
22 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}" | ||
23 | PACKAGE_EXTRA_ARCHS_tune-cortexa8thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}" | ||
24 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}" | ||