diff options
Diffstat (limited to 'meta/conf/machine/include/arm/armv8a/tune-thunderx.inc')
-rw-r--r-- | meta/conf/machine/include/arm/armv8a/tune-thunderx.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv8a/tune-thunderx.inc b/meta/conf/machine/include/arm/armv8a/tune-thunderx.inc new file mode 100644 index 0000000000..7bc6282be8 --- /dev/null +++ b/meta/conf/machine/include/arm/armv8a/tune-thunderx.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DEFAULTTUNE ?= "thunderx" | ||
2 | AVAILTUNES += "thunderx thunderx_be" | ||
3 | |||
4 | TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX" | ||
5 | |||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx', '',d)}" | ||
7 | |||
8 | require conf/machine/include/arm/arch-armv8a.inc | ||
9 | |||
10 | ARMPKGARCH:tune-thunderx ?= "thunderx" | ||
11 | ARMPKGARCH:tune-thunderx_be ?= "thunderx" | ||
12 | |||
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" | ||
17 | |||
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" | ||