summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-core2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/tune-core2.inc')
-rw-r--r--meta/conf/machine/include/tune-core2.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc
new file mode 100644
index 0000000000..85b69240ce
--- /dev/null
+++ b/meta/conf/machine/include/tune-core2.inc
@@ -0,0 +1,26 @@
1DEFAULTTUNE ?= "core2"
2
3require conf/machine/include/tune-i586.inc
4
5# Extra tune features
6TUNEVALID[core2] = "Enable core2 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}"
8
9# Extra tune selections
10AVAILTUNES += "core2"
11TUNE_FEATURES_tune-core2 = "${TUNE_FEATURES_tune-x86} core2"
12BASE_LIB_tune-core2 = "lib"
13TUNE_PKGARCH_tune-core2 = "core2"
14PACKAGE_EXTRA_ARCHS_tune-core2 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 i686 core2"
15
16AVAILTUNES += "core2-64"
17TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2"
18BASE_LIB_tune-core2-64 = "lib64"
19TUNE_PKGARCH_tune-core2-64 = "core2_64"
20PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2_64"
21
22AVAILTUNES += "core2-64-x32"
23TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2"
24BASE_LIB_tune-core2-64-x32 = "libx32"
25TUNE_PKGARCH_tune-core2-64-x32 = "core2_64_x32"
26PACKAGE_EXTRA_ARCHS_tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64-x32} core2_64_x32"