blob: 7bc6282be88212850bddefe1c05b419bc449db76 [file] [log] [blame]
Patrick Williamsf1e5d692016-03-30 15:21:19 -05001DEFAULTTUNE ?= "thunderx"
2AVAILTUNES += "thunderx thunderx_be"
3
4TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX"
5
Brad Bishop19323692019-04-05 15:28:33 -04006TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx', '',d)}"
7
8require conf/machine/include/arm/arch-armv8a.inc
Patrick Williamsf1e5d692016-03-30 15:21:19 -05009
Patrick Williams213cb262021-08-07 19:21:33 -050010ARMPKGARCH:tune-thunderx ?= "thunderx"
11ARMPKGARCH:tune-thunderx_be ?= "thunderx"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050012
Patrick Williams213cb262021-08-07 19:21:33 -050013TUNE_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"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050017
Patrick Williams213cb262021-08-07 19:21:33 -050018PACKAGE_EXTRA_ARCHS:tune-thunderx = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} thunderx"
19PACKAGE_EXTRA_ARCHS:tune-thunderx_be = "aarch64_be thunderx_be"