diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2017-09-28 13:01:21 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-09-28 13:06:05 +0200 |
commit | b7893ac9fcaf6c3a7e8624dbe481827964880fb6 (patch) | |
tree | 3f29317dede2c9c45d2ab6c64f625fd9b9385b88 /conf/machine/qemux86-64-corei7.conf | |
parent | 6d88d7a31b77a965552e33e62cec1598e05dc205 (diff) | |
download | meta-enea-bsp-x86-b7893ac9fcaf6c3a7e8624dbe481827964880fb6.tar.gz |
qemux86-64: change ARCH to corei7 and move on intel kernel source tree
In order to use the same SDK for host and guest it was decided to
change the build architecture of qemux86-64 to corei7 and use the
same kernel provided by Intel.
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'conf/machine/qemux86-64-corei7.conf')
-rw-r--r-- | conf/machine/qemux86-64-corei7.conf | 34 |
1 files changed, 34 insertions, 0 deletions
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" | ||