summaryrefslogtreecommitdiffstats
path: root/conf/machine/qemux86-64-corei7.conf
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-09-28 13:01:21 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-09-28 13:06:05 +0200
commitb7893ac9fcaf6c3a7e8624dbe481827964880fb6 (patch)
tree3f29317dede2c9c45d2ab6c64f625fd9b9385b88 /conf/machine/qemux86-64-corei7.conf
parent6d88d7a31b77a965552e33e62cec1598e05dc205 (diff)
downloadmeta-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.conf34
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 @@
1PREFERRED_PROVIDER_virtual/kernel_qemux86-64 = "linux-intel-guest"
2
3DEFAULTTUNE_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
11TUNEVALID[corei7] = "Enable corei7 specific processor optimizations"
12TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'corei7', ' -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2', '', d)}"
13
14# Extra tune selections
15AVAILTUNES += "corei7-32"
16TUNE_FEATURES_tune-corei7-32 = "${TUNE_FEATURES_tune-x86} corei7"
17BASE_LIB_tune-corei7-32 = "lib"
18TUNE_PKGARCH_tune-corei7-32 = "corei7-32"
19PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-32} corei7-32"
20QEMU_EXTRAOPTIONS_corei7-32 = " -cpu Nehalem,check=false"
21
22AVAILTUNES += "corei7-64"
23TUNE_FEATURES_tune-corei7-64 = "${TUNE_FEATURES_tune-x86-64} corei7"
24BASE_LIB_tune-corei7-64 = "lib64"
25TUNE_PKGARCH_tune-corei7-64 = "corei7-64"
26PACKAGE_EXTRA_ARCHS_tune-corei7-64 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64} corei7-64"
27QEMU_EXTRAOPTIONS_corei7-64 = " -cpu Nehalem,check=false"
28
29AVAILTUNES += "corei7-64-x32"
30TUNE_FEATURES_tune-corei7-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} corei7"
31BASE_LIB_tune-corei7-64-x32 = "libx32"
32TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32"
33PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32"
34QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false"