summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2018-09-13 15:25:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 17:38:07 +0100
commit5e9c1b23f4ecbe2d5dce2fa11db028c239c91af3 (patch)
tree860189b926cd8920e539c2914ad2a70aaba9e41e
parent5679b31bcf34cc3659a84a9181a80295812fb2fe (diff)
downloadpoky-5e9c1b23f4ecbe2d5dce2fa11db028c239c91af3.tar.gz
tune-core2: use n270 instead of core2duo
Fixes warnings in builds using core2-32 tune: warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.syscall [bit 11] warning: TCG doesn't support requested feature: CPUID.80000001H:EDX.lm [bit 29] when executing postinsts using qemu-i386. i386 target doesn't enable CPUID_EXT2_SYSCALL and CPUID_EXT2_LM [1] while cpu choice of core2duo that we use for core2-32 TUNE does [2]. Use n270 cpu instead to use with qemu which supports SSSE3 and doesn't have these bits enabled [3]. [1] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L739 [2] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1439 [3] https://github.com/qemu/qemu/blob/master/target/i386/cpu.c#L1603 Fixes [YOCTO #12916] (From OE-Core rev: 3db567d7835c6bb158d0f6c5b5533835a0181c45) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/include/tune-core2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc
index c686bb4682..ddde719bde 100644
--- a/meta/conf/machine/include/tune-core2.inc
+++ b/meta/conf/machine/include/tune-core2.inc
@@ -21,7 +21,7 @@ TUNE_FEATURES_tune-core2-32 = "${TUNE_FEATURES_tune-x86} core2"
21BASE_LIB_tune-core2-32 = "lib" 21BASE_LIB_tune-core2-32 = "lib"
22TUNE_PKGARCH_tune-core2-32 = "core2-32" 22TUNE_PKGARCH_tune-core2-32 = "core2-32"
23PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i686} core2-32" 23PACKAGE_EXTRA_ARCHS_tune-core2-32 = "${PACKAGE_EXTRA_ARCHS_tune-i686} core2-32"
24QEMU_EXTRAOPTIONS_core2-32 = " -cpu core2duo" 24QEMU_EXTRAOPTIONS_core2-32 = " -cpu n270"
25 25
26AVAILTUNES += "core2-64" 26AVAILTUNES += "core2-64"
27TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2" 27TUNE_FEATURES_tune-core2-64 = "${TUNE_FEATURES_tune-x86-64} core2"