]> code.ossystems Code Review - openembedded-core.git/commitdiff
tune-xscale: replace TUNE_CCARGS for webkit-gtk and cairo only with xscale in TUNE_FE...
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 4 Oct 2012 10:37:05 +0000 (10:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Nov 2012 21:36:18 +0000 (21:36 +0000)
* without this you'll get different sstate checksum for webkit-gtk and
  cairo even when you build them with DEFAULTTUNE == armv5te
* maybe this isn't needed at all anymore or if it is then it should be
  applied in arm-armv5.inc for all armv5te devices, not only xscale?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/tune-xscale.inc

index 80a36836668362c4d069fed756676d68251c7970..0d5d060d044bbb519732a1e97b57e048ab79f421 100644 (file)
@@ -15,5 +15,5 @@ PACKAGE_EXTRA_ARCHS_tune-xscale-be = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb}"
 
 # webkit-gtk has alignment issues with double instructions on armv5 so
 # disable them here
-TUNE_CCARGS_pn-webkit-gtk = "-march=armv4t"
-TUNE_CCARGS_pn-cairo = "-march=armv4t"
+TUNE_CCARGS_pn-webkit-gtk = "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-march=armv4t", "", d)}"
+TUNE_CCARGS_pn-cairo = "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-march=armv4t", "", d)}"