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