diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/conf/machine/include/tune-core2.inc | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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" | ||