mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
* 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? (From OE-Core rev: c51643a510da6d1c3426b3de8f18ae864cb073a4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
891 B
PHP
20 lines
891 B
PHP
DEFAULTTUNE ?= "xscale"
|
|
|
|
require conf/machine/include/arm/arch-armv5-dsp.inc
|
|
|
|
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"
|
|
TUNE_FEATURES_tune-xscale-be = "${TUNE_FEATURES_tune-armv5teb} xscale bigendian"
|
|
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 = "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-march=armv4t", "", d)}"
|
|
TUNE_CCARGS_pn-cairo = "${@bb.utils.contains("TUNE_FEATURES", "xscale", "-march=armv4t", "", d)}"
|