diff options
Diffstat (limited to 'meta/conf/machine/include/tune-core2.inc')
-rw-r--r-- | meta/conf/machine/include/tune-core2.inc | 26 |
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 @@ | |||
1 | DEFAULTTUNE ?= "core2" | ||
2 | |||
3 | require conf/machine/include/tune-i586.inc | ||
4 | |||
5 | # Extra tune features | ||
6 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" | ||
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}" | ||
8 | |||
9 | # Extra tune selections | ||
10 | AVAILTUNES += "core2" | ||
11 | TUNE_FEATURES_tune-core2 = "${TUNE_FEATURES_tune-x86} core2" | ||
12 | BASE_LIB_tune-core2 = "lib" | ||
13 | TUNE_PKGARCH_tune-core2 = "core2" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-core2 = "${PACKAGE_EXTRA_ARCHS_tune-x86} i386 i486 i586 i686 core2" | ||
15 | |||
16 | AVAILTUNES += "core2-64" | ||
17 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" | ||
18 | BASE_LIB_tune-core2-64 = "lib64" | ||
19 | TUNE_PKGARCH_tune-core2-64 = "core2_64" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2_64" | ||
21 | |||
22 | AVAILTUNES += "core2-64-x32" | ||
23 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" | ||
24 | BASE_LIB_tune-core2-64-x32 = "libx32" | ||
25 | TUNE_PKGARCH_tune-core2-64-x32 = "core2_64_x32" | ||
26 | PACKAGE_EXTRA_ARCHS_tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64-x32} core2_64_x32" | ||