summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv8a/tune-thunderx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/arm/armv8a/tune-thunderx.inc')
-rw-r--r--meta/conf/machine/include/arm/armv8a/tune-thunderx.inc19
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 @@
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"