summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-xscale.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 15:13:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-25 12:06:30 +0100
commitd74176473ae8672856c94d91d2058d3fd3bdab29 (patch)
tree0edb534b9ab714472640cdbaf68cdbc4201de5a4 /meta/conf/machine/include/tune-xscale.inc
parent039a2d006b7349822509ae612f41e24b12b631a6 (diff)
downloadpoky-d74176473ae8672856c94d91d2058d3fd3bdab29.tar.gz
conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH
Since we're updating the tune file format, it makes sense to abstract the compiler tune arguments at this point too. This means that should these need to be overridden at any point, the original values can still be obtained in a similar manner to the other TUNE* variables. Whilst this isn't strictly necessary for any current need, its likely good practise to standardise this behaviour. (From OE-Core rev: 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e) 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.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc
index 69c60f5f27..9618a8b513 100644
--- a/meta/conf/machine/include/tune-xscale.inc
+++ b/meta/conf/machine/include/tune-xscale.inc
@@ -2,12 +2,12 @@ TUNE_ARCH = "arm"
2 2
3INHERIT += "siteinfo" 3INHERIT += "siteinfo"
4 4
5TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" 5TUNE_CCARGS = "-march=armv5te -mtune=xscale"
6TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" 6TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
7TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" 7TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
8PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" 8PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
9 9
10# webkit-gtk has alignment issues with double instructions on armv5 so 10# webkit-gtk has alignment issues with double instructions on armv5 so
11# disable them here 11# disable them here
12TARGET_CC_ARCH_pn-webkit-gtk = "-march=armv4t" 12TUNE_CCARGS_pn-webkit-gtk = "-march=armv4t"
13TARGET_CC_ARCH_pn-cairo = "-march=armv4t" 13TUNE_CCARGS_pn-cairo = "-march=armv4t"