summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorArmin Kuster <akuster@mvista.com>2015-10-02 07:28:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-03 00:01:13 +0100
commitff8bf4907ff3b1a9c479fe158c31607da07f9b55 (patch)
tree113980972de4482f03112618ccfe8af8a0a9b4ee /meta/conf
parentfce47d3bd51ede32a392b53b046a4583ef1847c8 (diff)
downloadopenembedded-core-ff8bf4907ff3b1a9c479fe158c31607da07f9b55.tar.gz
openembedded-core-ff8bf4907ff3b1a9c479fe158c31607da07f9b55.tar.bz2
openembedded-core-ff8bf4907ff3b1a9c479fe158c31607da07f9b55.zip
ThunderX: Add initial tune file
changed upper case "X" to lower case "x" Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-thunderx.inc19
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 @@
+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"