diff options
author | Darren Hart <dvhart@linux.intel.com> | 2014-01-21 17:51:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-28 00:50:53 +0000 |
commit | bf3cb2cf55dc1cbcb45b2d3c938895ebe81008a4 (patch) | |
tree | ca5f416b305049db22d8dbdc4ac761fdc8fe1093 /meta/conf/machine | |
parent | 4fdfeeb7538cdc8959192f12dbc4207837510e3b (diff) | |
download | poky-bf3cb2cf55dc1cbcb45b2d3c938895ebe81008a4.tar.gz |
tune: Make 32b or 64b explicit in tune name for core2
Core2 has both a 32b and a 64b variant. Currently, core2 implies 32b,
while core2_64 is the 64b version. This implicit 32b mode will become
confusing in later architectures, such as corei7, where it would be
natural for people to assume "corei7" meant 64 bit.
Rather than carrying forward an implicit 32b mode and rather than
changing the naming scheme part way through the architecture hiearchy,
make the 32b and 64b variant explicit in the tune name by changing core2
to core2-32. This patch also standardises on using '-' in the names.
(From OE-Core rev: 69e6395b8d11e2940892a6293ecbbe645c2a478b)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Paul Eggleton <paul.eggleton@intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Nitin Kamble <nitin.a.kamble@intel.com>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/tune-core2.inc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc index 2500a748b0..078e22d192 100644 --- a/meta/conf/machine/include/tune-core2.inc +++ b/meta/conf/machine/include/tune-core2.inc | |||
@@ -6,7 +6,7 @@ | |||
6 | # This tune is recommended for the Intel Core 2 CPU family, including Conroe, | 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. | 7 | # Merom and beyond, as well as the first Atom CPUs, Diamondville, and beyond. |
8 | # | 8 | # |
9 | DEFAULTTUNE ?= "core2" | 9 | DEFAULTTUNE ?= "core2-32" |
10 | 10 | ||
11 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS | 11 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS |
12 | require conf/machine/include/tune-i586.inc | 12 | require conf/machine/include/tune-i586.inc |
@@ -16,20 +16,20 @@ TUNEVALID[core2] = "Enable core2 specific processor optimizations" | |||
16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -mtune=core2 -msse3 -mfpmath=sse", "", d)}" | 16 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -mtune=core2 -msse3 -mfpmath=sse", "", d)}" |
17 | 17 | ||
18 | # Extra tune selections | 18 | # Extra tune selections |
19 | AVAILTUNES += "core2" | 19 | AVAILTUNES += "core2-32" |
20 | TUNE_FEATURES_tune-core2 = "${TUNE_FEATURES_tune-x86} core2" | 20 | TUNE_FEATURES_tune-core2-32 = "${TUNE_FEATURES_tune-x86} core2" |
21 | BASE_LIB_tune-core2 = "lib" | 21 | BASE_LIB_tune-core2-32 = "lib" |
22 | TUNE_PKGARCH_tune-core2 = "core2" | 22 | TUNE_PKGARCH_tune-core2-32 = "core2-32" |
23 | PACKAGE_EXTRA_ARCHS_tune-core2 = "${PACKAGE_EXTRA_ARCHS_tune-i586} core2" | 23 | PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i586} core2-32" |
24 | 24 | ||
25 | AVAILTUNES += "core2-64" | 25 | AVAILTUNES += "core2-64" |
26 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" | 26 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" |
27 | BASE_LIB_tune-core2-64 = "lib64" | 27 | BASE_LIB_tune-core2-64 = "lib64" |
28 | TUNE_PKGARCH_tune-core2-64 = "core2_64" | 28 | TUNE_PKGARCH_tune-core2-64 = "core2-64" |
29 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2_64" | 29 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2-64" |
30 | 30 | ||
31 | AVAILTUNES += "core2-64-x32" | 31 | AVAILTUNES += "core2-64-x32" |
32 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" | 32 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" |
33 | BASE_LIB_tune-core2-64-x32 = "libx32" | 33 | BASE_LIB_tune-core2-64-x32 = "libx32" |
34 | TUNE_PKGARCH_tune-core2-64-x32 = "core2_64_x32" | 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" | 35 | PACKAGE_EXTRA_ARCHS_tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64-x32} core2-64-x32" |