1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00: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:
Jon Mason
2021-08-16 18:01:42 -04:00
committed by Richard Purdie
parent d9878e12b8
commit 1d381f21f5
78 changed files with 26 additions and 26 deletions
@@ -0,0 +1,29 @@
DEFAULTTUNE ?= "mips32"
require conf/machine/include/mips/arch-mips.inc
TUNEVALID[mips32] = "Enable mips32 specific processor optimizations"
TUNECONFLICTS[mips32] = "n64 n32"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips32', ' -march=mips32', '', d)}"
# Base Tunes (Hard Float)
AVAILTUNES += "mips32 mips32el"
TUNE_FEATURES:tune-mips32 = "${TUNE_FEATURES:tune-mips} mips32"
MIPSPKGSFX_VARIANT:tune-mips32 = "mips32"
PACKAGE_EXTRA_ARCHS:tune-mips32 = "mips mips32"
TUNE_FEATURES:tune-mips32el = "${TUNE_FEATURES:tune-mipsel} mips32"
MIPSPKGSFX_VARIANT:tune-mips32el = "mips32el"
PACKAGE_EXTRA_ARCHS:tune-mips32el = "mipsel mips32el"
# Soft Float
AVAILTUNES += "mips32-nf mips32el-nf"
TUNE_FEATURES:tune-mips32-nf = "${TUNE_FEATURES:tune-mips-nf} mips32"
MIPSPKGSFX_VARIANT:tune-mips32-nf = "mips32"
PACKAGE_EXTRA_ARCHS:tune-mips32-nf = "mips-nf mips32-nf"
TUNE_FEATURES:tune-mips32el-nf = "${TUNE_FEATURES:tune-mipsel-nf} mips32"
MIPSPKGSFX_VARIANT:tune-mips32el-nf = "mips32el"
PACKAGE_EXTRA_ARCHS:tune-mips32el-nf = "mipsel-nf mips32el-nf"