support rt5370 AP mode.
[vuplus_openembedded] / conf / machine / include / tune-xscale.inc
1 # this depends on fact that for ARM the TARGET_ARCH is 'arm' for little endian and 'armeb' for bigendian
2 # this is the case as of now for all arm machines in OE.
3
4 FEED_ARCH =  "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
5
6 TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
7 TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
8 PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][ bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
9 BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
10
11 # Include tune file for thumb support, it defaults to off so DISTROs can turn it on if they wish
12 require conf/machine/include/tune-thumb.inc
13