1DEFAULTTUNE ?= "thunderx" 2AVAILTUNES += "thunderx thunderx_be" 3 4TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" 5 6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx', '',d)}" 7 8require conf/machine/include/arm/arch-armv8a.inc 9 10ARMPKGARCH:tune-thunderx ?= "thunderx" 11ARMPKGARCH:tune-thunderx_be ?= "thunderx" 12 13TUNE_FEATURES:tune-thunderx = "${TUNE_FEATURES:tune-aarch64} thunderx" 14TUNE_FEATURES:tune-thunderx_be = "${TUNE_FEATURES:tune-thunderx} bigendian" 15BASE_LIB:tune-thunderx = "lib64" 16BASE_LIB:tune-thunderx_be = "lib64" 17 18PACKAGE_EXTRA_ARCHS:tune-thunderx = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} thunderx" 19PACKAGE_EXTRA_ARCHS:tune-thunderx_be = "aarch64_be thunderx_be" 20