mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 18:32:12 +02:00
This gets us closer to making including tune-<arch>.inc "just work". Moving the TARGET_ARCH definitions is something for a follup patch. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 lines
565 B
HTML
14 lines
565 B
HTML
FEED_ARCH = "armv5te"
|
|
|
|
INHERIT += "siteinfo"
|
|
|
|
TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
|
|
TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
|
|
BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
|
|
PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', '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"
|