aboutsummaryrefslogtreecommitdiffstats
path: root/meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc')
-rw-r--r--meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc b/meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc
new file mode 100644
index 00000000..0c142a70
--- /dev/null
+++ b/meta-steppeeagle/conf/machine/include/tune-steppeeagle.inc
@@ -0,0 +1,18 @@
+DEFAULTTUNE ?= "dbft3b"
+
+require conf/machine/include/x86/arch-x86.inc
+require conf/machine/include/x86-base.inc
+
+
+# AMD DB-FT3b 64bit (SteppeEagle)
+TUNEVALID[dbft3b] = "Enable AMD DB-FT3b (64 bit) specific processor optimizations"
+TUNECONFLICTS[dbft3b] = "m32 mx32"
+TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "dbft3b", "${X86ARCH64}", "" ,d)}"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "dbft3b", " -march=btver2", "", d)}"
+
+# Extra tune selections
+AVAILTUNES += "dbft3b"
+TUNE_FEATURES_tune-dbft3b = "dbft3b"
+BASE_LIB_tune-dbft3b = "lib64"
+TUNE_PKGARCH_tune-dbft3b = "dbft3b"
+PACKAGE_EXTRA_ARCHS_tune-dbft3b = "${TUNE_PKGARCH_tune-dbft3b}"