Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv5te" |
| 2 | |
| 3 | require conf/machine/include/arm/arch-armv5-dsp.inc |
| 4 | |
| 5 | TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'xscale', ' -mcpu=xscale', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | |
| 8 | AVAILTUNES += "xscale" |
| 9 | ARMPKGARCH_tune-xscale = "xscale" |
| 10 | TUNE_FEATURES_tune-xscale = "${TUNE_FEATURES_tune-armv5te} xscale" |
| 11 | PACKAGE_EXTRA_ARCHS_tune-xscale = "${PACKAGE_EXTRA_ARCHS_tune-armv5te} xscale xscalet xscalee xscalete" |
| 12 | |
| 13 | AVAILTUNES += "xscale-be" |
| 14 | ARMPKGARCH_tune-xscale-be = "xscale" |
| 15 | TUNE_FEATURES_tune-xscale-be = "${TUNE_FEATURES_tune-armv5teb} xscale bigendian" |
| 16 | PACKAGE_EXTRA_ARCHS_tune-xscale-be = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb} xscaleb xscaletb xscaleeb xscaleteb" |