blob: 19d5e13e6101efe09b4fedea8812a81c2fa425f3 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEFAULTTUNE ?= "armv5te"
2
3require conf/machine/include/arm/arch-armv5-dsp.inc
4
5TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'xscale', ' -mcpu=xscale', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -04007MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'xscale', 'armv5:', '' ,d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9AVAILTUNES += "xscale"
10ARMPKGARCH_tune-xscale = "xscale"
Brad Bishop19323692019-04-05 15:28:33 -040011# mcpu is used so don't use armv5te as we don't want march
12TUNE_FEATURES_tune-xscale = "arm thumb dsp xscale"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013PACKAGE_EXTRA_ARCHS_tune-xscale = "${PACKAGE_EXTRA_ARCHS_tune-armv5te} xscale xscalet xscalee xscalete"
14
15AVAILTUNES += "xscale-be"
16ARMPKGARCH_tune-xscale-be = "xscale"
Brad Bishop19323692019-04-05 15:28:33 -040017# mcpu is used so don't use armv5te as we don't want march
18TUNE_FEATURES_tune-xscale-be = "${TUNE_FEATURES_tune-xscale} bigendian"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019PACKAGE_EXTRA_ARCHS_tune-xscale-be = "${PACKAGE_EXTRA_ARCHS_tune-armv5teb} xscaleb xscaletb xscaleeb xscaleteb"