summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-xscale.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-25 19:03:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-27 15:45:48 +0100
commit6afd21bced6513986f27d8cbc7d83bb2d804b5b0 (patch)
tree69e2b6c2fde4c15d948f9a8f798a30926f858600 /meta/conf/machine/include/tune-xscale.inc
parent30ddd02277d4513e2649ed168a513205e244bcb1 (diff)
downloadpoky-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.inc18
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 @@
1require conf/machine/include/arm/arch-arm.inc 1DEFAULTTUNE ?= "xscale"
2 2
3INHERIT += "siteinfo" 3require conf/machine/include/arm/arch-armv5-dsp.inc
4 4
5TUNE_CCARGS = "-march=armv5te -mtune=xscale" 5TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations"
6TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" 6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-mtune=xscale", "", d)}"
7TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}" 7
8PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}" 8AVAILTUNES += "xscale"
9TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5te} xscale"
10PACKAGE_EXTRA_ARCHS_tune-xscale = "${PACKAGE_EXTRA_ARCHS_tune-armv5te}"
11
12AVAILTUNES += "xscale-be"
13TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5teb} xscale"
14PACKAGE_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