Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "thunderx" |
| 2 | AVAILTUNES += "thunderx thunderx_be" |
| 3 | |
| 4 | TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" |
| 5 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx', '',d)}" |
| 7 | |
| 8 | require conf/machine/include/arm/arch-armv8a.inc |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 9 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 10 | ARMPKGARCH:tune-thunderx ?= "thunderx" |
| 11 | ARMPKGARCH:tune-thunderx_be ?= "thunderx" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 12 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | TUNE_FEATURES:tune-thunderx = "${TUNE_FEATURES:tune-aarch64} thunderx" |
| 14 | TUNE_FEATURES:tune-thunderx_be = "${TUNE_FEATURES:tune-thunderx} bigendian" |
| 15 | BASE_LIB:tune-thunderx = "lib64" |
| 16 | BASE_LIB:tune-thunderx_be = "lib64" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 17 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 18 | PACKAGE_EXTRA_ARCHS:tune-thunderx = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} thunderx" |
| 19 | PACKAGE_EXTRA_ARCHS:tune-thunderx_be = "aarch64_be thunderx_be" |