Provide BASE_LIB settings for octeon* tunes that follow the practice of mips64/mips64-n32 tunes (lib64 for N64 ABI, lib32 for N32 ABI). (From OE-Core rev: 2b52312174e52886b0a978ece41f66b4fb455604) (From OE-Core rev: 9531dbe2106d5ba5a9e7d66b3c640a98e4fb6ec4) Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> 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/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"
|