diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/conf/machine/include/tune-core2.inc | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/conf/machine/include/tune-core2.inc')
-rw-r--r-- | meta/conf/machine/include/tune-core2.inc | 35 |
1 files changed, 35 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..078e22d192 --- /dev/null +++ b/meta/conf/machine/include/tune-core2.inc | |||
@@ -0,0 +1,35 @@ | |||
1 | # Settings for the GCC(1) cpu-type "core2": | ||
2 | # | ||
3 | # Intel Core2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 | ||
4 | # instruction set support. | ||
5 | # | ||
6 | # This tune is recommended for the Intel Core 2 CPU family, including Conroe, | ||
7 | # Merom and beyond, as well as the first Atom CPUs, Diamondville, and beyond. | ||
8 | # | ||
9 | DEFAULTTUNE ?= "core2-32" | ||
10 | |||
11 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS | ||
12 | require conf/machine/include/tune-i586.inc | ||
13 | |||
14 | # Extra tune features | ||
15 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" | ||
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -mtune=core2 -msse3 -mfpmath=sse", "", d)}" | ||
17 | |||
18 | # Extra tune selections | ||
19 | AVAILTUNES += "core2-32" | ||
20 | TUNE_FEATURES_tune-core2-32 = "${TUNE_FEATURES_tune-x86} core2" | ||
21 | BASE_LIB_tune-core2-32 = "lib" | ||
22 | TUNE_PKGARCH_tune-core2-32 = "core2-32" | ||
23 | PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i586} core2-32" | ||
24 | |||
25 | AVAILTUNES += "core2-64" | ||
26 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" | ||
27 | BASE_LIB_tune-core2-64 = "lib64" | ||
28 | TUNE_PKGARCH_tune-core2-64 = "core2-64" | ||
29 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2-64" | ||
30 | |||
31 | AVAILTUNES += "core2-64-x32" | ||
32 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" | ||
33 | BASE_LIB_tune-core2-64-x32 = "libx32" | ||
34 | TUNE_PKGARCH_tune-core2-64-x32 = "core2-64-x32" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64-x32} core2-64-x32" | ||