From: Armin Kuster Date: Fri, 2 Oct 2015 14:28:33 +0000 (-0700) Subject: ThunderX: Add initial tune file X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28657 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff8bf4907ff3b1a9c479fe158c31607da07f9b55;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ThunderX: Add initial tune file changed upper case "X" to lower case "x" Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- diff --git a/meta/conf/machine/include/tune-thunderx.inc b/meta/conf/machine/include/tune-thunderx.inc new file mode 100644 index 00000000000..40de61dc2e3 --- /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"