diff options
author | Ruslan Ruslichenko <rruslich@cisco.com> | 2018-04-02 16:42:19 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-03 23:53:20 +0100 |
commit | 44bd3b684a7baefa222038af9db9cb1f922bb245 (patch) | |
tree | a5ef57d58cf16aabf7b360c41581703e6057c807 | |
parent | 6db7d80443f316e3ef21877490b9b1d4c8634675 (diff) | |
download | poky-44bd3b684a7baefa222038af9db9cb1f922bb245.tar.gz |
tune-core2.inc: add cpu type for qemu
Define cpu type for Qemu in QEMU_EXTRAOPTIONS.
Otherways Qemu will emulate some virtual qemu32/64 processor,
which has very basic set of features, and programs built
for later CPU may crash, due to lack of new features (e.g. SSSE3).
(From OE-Core rev: 11f4fdcafed1383e5b6c2e634c670d19124e537a)
Signed-off-by: Ruslan Ruslichenko <rruslich@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/tune-core2.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc index 6a03466650..c686bb4682 100644 --- a/meta/conf/machine/include/tune-core2.inc +++ b/meta/conf/machine/include/tune-core2.inc | |||
@@ -21,15 +21,18 @@ TUNE_FEATURES_tune-core2-32 = "${TUNE_FEATURES_tune-x86} core2" | |||
21 | BASE_LIB_tune-core2-32 = "lib" | 21 | BASE_LIB_tune-core2-32 = "lib" |
22 | TUNE_PKGARCH_tune-core2-32 = "core2-32" | 22 | TUNE_PKGARCH_tune-core2-32 = "core2-32" |
23 | PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i686} core2-32" | 23 | PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i686} core2-32" |
24 | QEMU_EXTRAOPTIONS_core2-32 = " -cpu core2duo" | ||
24 | 25 | ||
25 | AVAILTUNES += "core2-64" | 26 | AVAILTUNES += "core2-64" |
26 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" | 27 | TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" |
27 | BASE_LIB_tune-core2-64 = "lib64" | 28 | BASE_LIB_tune-core2-64 = "lib64" |
28 | TUNE_PKGARCH_tune-core2-64 = "core2-64" | 29 | TUNE_PKGARCH_tune-core2-64 = "core2-64" |
29 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2-64" | 30 | PACKAGE_EXTRA_ARCHS_tune-core2-64 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64} core2-64" |
31 | QEMU_EXTRAOPTIONS_core2-64 = " -cpu core2duo" | ||
30 | 32 | ||
31 | AVAILTUNES += "core2-64-x32" | 33 | AVAILTUNES += "core2-64-x32" |
32 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" | 34 | TUNE_FEATURES_tune-core2-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} core2" |
33 | BASE_LIB_tune-core2-64-x32 = "libx32" | 35 | BASE_LIB_tune-core2-64-x32 = "libx32" |
34 | TUNE_PKGARCH_tune-core2-64-x32 = "core2-64-x32" | 36 | 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" | 37 | PACKAGE_EXTRA_ARCHS_tune-core2-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-x86-64-x32} core2-64-x32" |
38 | QEMU_EXTRAOPTIONS_core2-64-x32 = " -cpu core2duo" | ||