diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 19:03:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 15:45:48 +0100 |
commit | 6afd21bced6513986f27d8cbc7d83bb2d804b5b0 (patch) | |
tree | 69e2b6c2fde4c15d948f9a8f798a30926f858600 /meta/conf/machine/include/tune-xscale.inc | |
parent | 30ddd02277d4513e2649ed168a513205e244bcb1 (diff) | |
download | poky-6afd21bced6513986f27d8cbc7d83bb2d804b5b0.tar.gz |
Add ARM tune file overhaul based largely on work from Mark Hatle
(From OE-Core rev: 789dcb8e68a2ab9784ac10ab36815010c61af2fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-xscale.inc')
-rw-r--r-- | meta/conf/machine/include/tune-xscale.inc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc index 7fabb4618e..9fe968526c 100644 --- a/meta/conf/machine/include/tune-xscale.inc +++ b/meta/conf/machine/include/tune-xscale.inc | |||
@@ -1,11 +1,17 @@ | |||
1 | require conf/machine/include/arm/arch-arm.inc | 1 | DEFAULTTUNE ?= "xscale" |
2 | 2 | ||
3 | INHERIT += "siteinfo" | 3 | require conf/machine/include/arm/arch-armv5-dsp.inc |
4 | 4 | ||
5 | TUNE_CCARGS = "-march=armv5te -mtune=xscale" | 5 | TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations" |
6 | TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-mtune=xscale", "", d)}" |
7 | TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}" | 7 | |
8 | PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}" | 8 | AVAILTUNES += "xscale" |
9 | TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5te} xscale" | ||
10 | PACKAGE_EXTRA_ARCHS_tune-xscale = "${PACKAGE_EXTRA_ARCHS_tune-armv5te}" | ||
11 | |||
12 | AVAILTUNES += "xscale-be" | ||
13 | TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5teb} xscale" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-xscale-be = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb}" | ||
9 | 15 | ||
10 | # webkit-gtk has alignment issues with double instructions on armv5 so | 16 | # webkit-gtk has alignment issues with double instructions on armv5 so |
11 | # disable them here | 17 | # disable them here |