Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?="octeon2" |
| 2 | |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame^] | 3 | require conf/machine/include/mips/tune-mips64.inc |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 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" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 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" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 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" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 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" |