Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?="octeon2" |
| 2 | |
| 3 | require conf/machine/include/tune-mips64.inc |
| 4 | |
| 5 | AVAILTUNES += "octeon2 octeon2_64 octeon3 octeon3_64" |
| 6 | |
| 7 | TUNEVALID[octeon2] = "Enable optimization related to octeon2 support" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon2', ' -march=octeon2 ', '',d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | |
| 10 | TUNE_FEATURES_tune-octeon2 = "${TUNE_FEATURES_tune-mips64-n32} octeon2" |
| 11 | BASE_LIB_tune-octeon2 = "lib32" |
| 12 | MIPSPKGSFX_VARIANT_tune-octeon2 = "octeon2" |
| 13 | PACKAGE_EXTRA_ARCHS_tune-octeon2 = "mips64-n32 octeon2-n32" |
| 14 | |
| 15 | TUNE_FEATURES_tune-octeon2_64 = "${TUNE_FEATURES_tune-mips64} octeon2" |
| 16 | BASE_LIB_tune-octeon2_64 = "lib64" |
| 17 | MIPSPKGSFX_VARIANT_tune-octeon2_64 = "octeon2_64" |
| 18 | PACKAGE_EXTRA_ARCHS_tune-octeon2_64 = "mips64 octeon2_64" |
| 19 | |
| 20 | |
| 21 | TUNEVALID[octeon3] = "Enable optimization related to octeon3 support" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 22 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'octeon3', ' -march=octeon3 ', '',d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 23 | |
| 24 | TUNE_FEATURES_tune-octeon3 = "${TUNE_FEATURES_tune-mips64-n32} octeon3" |
| 25 | BASE_LIB_tune-octeon3 = "lib32" |
| 26 | MIPSPKGSFX_VARIANT_tune-octeon3 = "octeon3" |
| 27 | PACKAGE_EXTRA_ARCHS_tune-octeon3 = "mips64-n32 octeon3-n32" |
| 28 | |
| 29 | TUNE_FEATURES_tune-octeon3_64 = "${TUNE_FEATURES_tune-mips64} octeon3" |
| 30 | BASE_LIB_tune-octeon3_64 = "lib64" |
| 31 | MIPSPKGSFX_VARIANT_tune-octeon3_64 = "octeon3_64" |
| 32 | PACKAGE_EXTRA_ARCHS_tune-octeon3_64 = "mips64 octeon3_64" |