aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/conf/machine/include/tune-zen2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/conf/machine/include/tune-zen2.inc')
-rw-r--r--meta-amd-bsp/conf/machine/include/tune-zen2.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-amd-bsp/conf/machine/include/tune-zen2.inc b/meta-amd-bsp/conf/machine/include/tune-zen2.inc
new file mode 100644
index 00000000..3365f2ee
--- /dev/null
+++ b/meta-amd-bsp/conf/machine/include/tune-zen2.inc
@@ -0,0 +1,5 @@
+require conf/machine/include/tune-amd64.inc
+
+TUNEVALID[zen2] = "Enable AMD x86 (64 bit) Zen 2 Core Architecture specific optimizations"
+TUNE_FEATURES_tune-amd64 = "m64 zen2"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'zen2', ' -march=znver2', '', d)}"