Skip to contentSkip to conversation

ThunderX: Add initial tune file

PATCH New Armin Kuster 1 participant 1 message Oct 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ThunderX: Add initial tune file

From: Armin Kuster <[email protected]>

changed upper case "X" to lower case "x"

---
 meta/conf/machine/include/tune-thunderx.inc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-thunderx.inc
meta/conf/machine/include/tune-thunderx.inc new file +19 -0
new file mode 100644
index 0000000..40de61d
@@ -0,0 +1,19 @@
+require conf/machine/include/arm/arch-armv8.inc
+
+DEFAULTTUNE ?= "thunderx"
+AVAILTUNES += "thunderx thunderx_be"
+
+TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX"
+
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "thunderx", " -mcpu=thunderx ", "",d)}"
+
+ARMPKGARCH_tune-thunderx ?= "thunderx"
+ARMPKGARCH_tune-thunderx_be ?= "thunderx_be"
+
+TUNE_FEATURES_tune-thunderx ?= "${TUNE_FEATURES_tune-aarch64} thunderx"
+TUNE_FEATURES_tune-thunderx_be ?= "${TUNE_FEATURES_tune-thunderx} bigendian"
+BASE_LIB_tune-thunderx = "lib64"
+BASE_LIB_tune-thunderx_be = "lib64"
+
+PACKAGE_EXTRA_ARCHS_tune-thunderx = "aarch64 thunderx"
+PACKAGE_EXTRA_ARCHS_tune-thunderx_be = "aarch64_be thunderx_be"
Signature · 1 line
2.3.5