aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-xscale.inc
blob: 7fabb4618ecb216a7b43f1912c8ce86bf4ce2540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require conf/machine/include/arm/arch-arm.inc

INHERIT += "siteinfo"

TUNE_CCARGS = "-march=armv5te -mtune=xscale"
TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
TUNE_PKGARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}"
PACKAGE_EXTRA_ARCHS = "${@['armeb armv4b armv4tb armv5teb', 'arm armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANNESS', d, 1) == 'le']}"

# 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"