mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
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>
33 lines
1.3 KiB
PHP
33 lines
1.3 KiB
PHP
DEFAULTTUNE ?="octeon2"
|
|
|
|
require conf/machine/include/mips/tune-mips64.inc
|
|
|
|
AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64"
|
|
|
|
TUNEVALID[octeon2] = "Enable optimization related to octeon2 support"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon2', ' -march=octeon2 ', '',d)}"
|
|
|
|
TUNE_FEATURES:tune-octeon2 = "${TUNE_FEATURES:tune-mips64-n32} octeon2"
|
|
BASE_LIB:tune-octeon2 = "lib32"
|
|
MIPSPKGSFX_VARIANT:tune-octeon2 = "octeon2"
|
|
PACKAGE_EXTRA_ARCHS:tune-octeon2 = "mips64-n32 octeon2-n32"
|
|
|
|
TUNE_FEATURES:tune-octeon2_64 = "${TUNE_FEATURES:tune-mips64} octeon2"
|
|
BASE_LIB:tune-octeon2_64 = "lib64"
|
|
MIPSPKGSFX_VARIANT:tune-octeon2_64 = "octeon2_64"
|
|
PACKAGE_EXTRA_ARCHS:tune-octeon2_64 = "mips64 octeon2_64"
|
|
|
|
|
|
TUNEVALID[octeon3] = "Enable optimization related to octeon3 support"
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon3', ' -march=octeon3 ', '',d)}"
|
|
|
|
TUNE_FEATURES:tune-octeon3 = "${TUNE_FEATURES:tune-mips64-n32} octeon3"
|
|
BASE_LIB:tune-octeon3 = "lib32"
|
|
MIPSPKGSFX_VARIANT:tune-octeon3 = "octeon3"
|
|
PACKAGE_EXTRA_ARCHS:tune-octeon3 = "mips64-n32 octeon3-n32"
|
|
|
|
TUNE_FEATURES:tune-octeon3_64 = "${TUNE_FEATURES:tune-mips64} octeon3"
|
|
BASE_LIB:tune-octeon3_64 = "lib64"
|
|
MIPSPKGSFX_VARIANT:tune-octeon3_64 = "octeon3_64"
|
|
PACKAGE_EXTRA_ARCHS:tune-octeon3_64 = "mips64 octeon3_64"
|