From 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 22 Jul 2011 15:13:03 +0100 Subject: 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. Signed-off-by: Richard Purdie --- meta/conf/machine/include/tune-xscale.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/conf/machine/include/tune-xscale.inc') 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" INHERIT += "siteinfo" -TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" +TUNE_CCARGS = "-march=armv5te -mtune=xscale" TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" # webkit-gtk has alignment issues with double instructions on armv5 so # disable them here -TARGET_CC_ARCH_pn-webkit-gtk = "-march=armv4t" -TARGET_CC_ARCH_pn-cairo = "-march=armv4t" +TUNE_CCARGS_pn-webkit-gtk = "-march=armv4t" +TUNE_CCARGS_pn-cairo = "-march=armv4t" -- cgit 1.2.3-korg