diff options
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/inteld1521.conf | 4 | ||||
-rw-r--r-- | conf/machine/qemux86-64-corei7.conf | 34 |
2 files changed, 36 insertions, 2 deletions
diff --git a/conf/machine/inteld1521.conf b/conf/machine/inteld1521.conf index 091ef18..d1c9104 100644 --- a/conf/machine/inteld1521.conf +++ b/conf/machine/inteld1521.conf | |||
@@ -7,8 +7,8 @@ | |||
7 | # If the configuration need to be updated please check first the original .conf | 7 | # If the configuration need to be updated please check first the original .conf |
8 | 8 | ||
9 | # Soft set linux-yocto as preferred kernel like x86-base.inc | 9 | # Soft set linux-yocto as preferred kernel like x86-base.inc |
10 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" | 10 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel-host" |
11 | PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel" | 11 | PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel-host" |
12 | PREFERRED_VERSION_linux-intel ?= "4.9%" | 12 | PREFERRED_VERSION_linux-intel ?= "4.9%" |
13 | 13 | ||
14 | # include the user space intel microcode loading support in the generated images. | 14 | # include the user space intel microcode loading support in the generated images. |
diff --git a/conf/machine/qemux86-64-corei7.conf b/conf/machine/qemux86-64-corei7.conf new file mode 100644 index 0000000..8f4bc1f --- /dev/null +++ b/conf/machine/qemux86-64-corei7.conf | |||
@@ -0,0 +1,34 @@ | |||
1 | PREFERRED_PROVIDER_virtual/kernel_qemux86-64 = "linux-intel-guest" | ||
2 | |||
3 | DEFAULTTUNE_qemux86-64 = "corei7-64" | ||
4 | |||
5 | # Following is the content of "conf/machine/include/tune-corei7.inc" | ||
6 | # without core2 inheritance which is already done in qemux86-64. | ||
7 | # We cannot inherite it here due to "duplicate included" warnings and | ||
8 | # other errors induced by that inclusion | ||
9 | |||
10 | # Extra tune features | ||
11 | TUNEVALID[corei7] = "Enable corei7 specific processor optimizations" | ||
12 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'corei7', ' -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2', '', d)}" | ||
13 | |||
14 | # Extra tune selections | ||
15 | AVAILTUNES += "corei7-32" | ||
16 | TUNE_FEATURES_tune-corei7-32 = "${TUNE_FEATURES_tune-x86} corei7" | ||
17 | BASE_LIB_tune-corei7-32 = "lib" | ||
18 | TUNE_PKGARCH_tune-corei7-32 = "corei7-32" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-32} corei7-32" | ||
20 | QEMU_EXTRAOPTIONS_corei7-32 = " -cpu Nehalem,check=false" | ||
21 | |||
22 | AVAILTUNES += "corei7-64" | ||
23 | TUNE_FEATURES_tune-corei7-64 = "${TUNE_FEATURES_tune-x86-64} corei7" | ||
24 | BASE_LIB_tune-corei7-64 = "lib64" | ||
25 | TUNE_PKGARCH_tune-corei7-64 = "corei7-64" | ||
26 | PACKAGE_EXTRA_ARCHS_tune-corei7-64 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64} corei7-64" | ||
27 | QEMU_EXTRAOPTIONS_corei7-64 = " -cpu Nehalem,check=false" | ||
28 | |||
29 | AVAILTUNES += "corei7-64-x32" | ||
30 | TUNE_FEATURES_tune-corei7-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} corei7" | ||
31 | BASE_LIB_tune-corei7-64-x32 = "libx32" | ||
32 | TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32" | ||
34 | QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" | ||