Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 1 | require conf/machine/include/arm/arch-armv8.inc |
| 2 | |
| 3 | DEFAULTTUNE ?= "thunderx" |
| 4 | AVAILTUNES += "thunderx thunderx_be" |
| 5 | |
| 6 | TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" |
| 7 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx ', '',d)}" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 9 | |
| 10 | ARMPKGARCH_tune-thunderx ?= "thunderx" |
| 11 | ARMPKGARCH_tune-thunderx_be ?= "thunderx_be" |
| 12 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 13 | TUNE_FEATURES_tune-thunderx = "${TUNE_FEATURES_tune-aarch64} thunderx" |
| 14 | TUNE_FEATURES_tune-thunderx_be = "${TUNE_FEATURES_tune-thunderx} bigendian" |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 15 | BASE_LIB_tune-thunderx = "lib64" |
| 16 | BASE_LIB_tune-thunderx_be = "lib64" |
| 17 | |
| 18 | PACKAGE_EXTRA_ARCHS_tune-thunderx = "aarch64 thunderx" |
| 19 | PACKAGE_EXTRA_ARCHS_tune-thunderx_be = "aarch64_be thunderx_be" |