blob: aa4d0501d400b5bb0e19fcad66282bf4ac2789ac [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
10ARMPKGARCH_tune-thunderx ?= "thunderx"
11ARMPKGARCH_tune-thunderx_be ?= "thunderx_be"
12
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050013TUNE_FEATURES_tune-thunderx = "${TUNE_FEATURES_tune-aarch64} thunderx"
14TUNE_FEATURES_tune-thunderx_be = "${TUNE_FEATURES_tune-thunderx} bigendian"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050015BASE_LIB_tune-thunderx = "lib64"
16BASE_LIB_tune-thunderx_be = "lib64"
17
Brad Bishop15ae2502019-06-18 21:44:24 -040018PACKAGE_EXTRA_ARCHS_tune-thunderx = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} thunderx"
Patrick Williamsf1e5d692016-03-30 15:21:19 -050019PACKAGE_EXTRA_ARCHS_tune-thunderx_be = "aarch64_be thunderx_be"