2011-07-25 18:03:24 +00:00
|
|
|
DEFAULTTUNE ?= "xscale"
|
2005-08-31 10:45:47 +00:00
|
|
|
|
2011-07-25 18:03:24 +00:00
|
|
|
require conf/machine/include/arm/arch-armv5-dsp.inc
|
2010-03-19 18:08:35 +00:00
|
|
|
|
2011-07-25 18:03:24 +00:00
|
|
|
TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations"
|
|
|
|
TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-mtune=xscale", "", d)}"
|
|
|
|
|
|
|
|
AVAILTUNES += "xscale"
|
|
|
|
TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5te} xscale"
|
|
|
|
PACKAGE_EXTRA_ARCHS_tune-xscale = "${PACKAGE_EXTRA_ARCHS_tune-armv5te}"
|
|
|
|
|
|
|
|
AVAILTUNES += "xscale-be"
|
2011-07-29 23:37:38 +00:00
|
|
|
TUNE_FEATURES_tune-xscale-be = "${TUNE_FEATURES_tune-armv5teb} xscale-be"
|
2011-07-25 18:03:24 +00:00
|
|
|
PACKAGE_EXTRA_ARCHS_tune-xscale-be = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb}"
|
2008-07-14 16:19:09 +00:00
|
|
|
|
|
|
|
# webkit-gtk has alignment issues with double instructions on armv5 so
|
|
|
|
# disable them here
|
2011-07-22 14:13:03 +00:00
|
|
|
TUNE_CCARGS_pn-webkit-gtk = "-march=armv4t"
|
|
|
|
TUNE_CCARGS_pn-cairo = "-march=armv4t"
|