mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their respective architecture directories in that same location. All references to these will need to be updated. So, change the relevant ones for this tree in this commit as well. For the ARM tunes, nest them one further into armv8a, armv8m, etc. and rename some to make them uniform with the rest of the tunes. (From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d9878e12b8
commit
1d381f21f5
13
meta/conf/machine/include/arm/armv5/tune-arm926ejs.inc
Normal file
13
meta/conf/machine/include/arm/armv5/tune-arm926ejs.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
DEFAULTTUNE ?= "armv5te"
|
||||
|
||||
require conf/machine/include/arm/arch-armv5-dsp.inc
|
||||
|
||||
TUNEVALID[arm926ejs] = "Enable arm926ejs specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm926ejs', ' -mcpu=arm926ej-s', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm926ejs', 'armv5:', '', d)}"
|
||||
|
||||
AVAILTUNES += "arm926ejs"
|
||||
ARMPKGARCH:tune-arm926ejs = "arm926ejs"
|
||||
# mcpu is used so don't use armv5te as we don't want march
|
||||
TUNE_FEATURES:tune-arm926ejs = "arm thumb dsp arm926ejs"
|
||||
PACKAGE_EXTRA_ARCHS:tune-arm926ejs = "${PACKAGE_EXTRA_ARCHS:tune-armv5te} arm926ejste arm926ejse"
|
||||
15
meta/conf/machine/include/arm/armv5/tune-iwmmxt.inc
Normal file
15
meta/conf/machine/include/arm/armv5/tune-iwmmxt.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
# Configurations for the Intel PXA27x Appications Processor Family.
|
||||
# Please use tune-xscale for PXA255/PXA26x based processors.
|
||||
|
||||
DEFAULTTUNE ?= "iwmmxt"
|
||||
|
||||
require conf/machine/include/arm/arch-armv5-dsp.inc
|
||||
|
||||
TUNEVALID[iwmmxt] = "Enable Intel PXA27x specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'iwmmxt', ' -mcpu=iwmmxt', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'iwmmxt', 'armv5:', '', d)}"
|
||||
|
||||
AVAILTUNES += "iwmmxt"
|
||||
ARMPKGARCH:tune-iwmmxt = "iwmmxt"
|
||||
TUNE_FEATURES:tune-iwmmxt = "thumb iwmmxt"
|
||||
PACKAGE_EXTRA_ARCHS:tune-iwmmxt = "${PACKAGE_EXTRA_ARCHS:tune-armv5te} iwmmxt iwmmxtt"
|
||||
19
meta/conf/machine/include/arm/armv5/tune-xscale.inc
Normal file
19
meta/conf/machine/include/arm/armv5/tune-xscale.inc
Normal file
@@ -0,0 +1,19 @@
|
||||
DEFAULTTUNE ?= "armv5te"
|
||||
|
||||
require conf/machine/include/arm/arch-armv5-dsp.inc
|
||||
|
||||
TUNEVALID[xscale] = "Enable PXA255/PXA26x Xscale specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'xscale', ' -mcpu=xscale', '', d)}"
|
||||
MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'xscale', 'armv5:', '', d)}"
|
||||
|
||||
AVAILTUNES += "xscale"
|
||||
ARMPKGARCH:tune-xscale = "xscale"
|
||||
# mcpu is used so don't use armv5te as we don't want march
|
||||
TUNE_FEATURES:tune-xscale = "arm thumb dsp xscale"
|
||||
PACKAGE_EXTRA_ARCHS:tune-xscale = "${PACKAGE_EXTRA_ARCHS:tune-armv5te} xscale xscalet xscalee xscalete"
|
||||
|
||||
AVAILTUNES += "xscale-be"
|
||||
ARMPKGARCH:tune-xscale-be = "xscale"
|
||||
# mcpu is used so don't use armv5te as we don't want march
|
||||
TUNE_FEATURES:tune-xscale-be = "${TUNE_FEATURES:tune-xscale} bigendian"
|
||||
PACKAGE_EXTRA_ARCHS:tune-xscale-be = "${PACKAGE_EXTRA_ARCHS:tune-armv5teb} xscaleb xscaletb xscaleeb xscaleteb"
|
||||
Reference in New Issue
Block a user