Skip to contentSkip to conversation

qemux86: Allow higher tunes

PATCH New Joshua Watt 1 participant 1 message Apr 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemux86: Allow higher tunes

Allows the qemux86 machine to be tuned all the way up to an i7 if desired by overriding DEFAULTTUNE. The default if unspecified is left at i586.

This can be useful for enabling advanced processor features like SSE if desired or required by various packages.

---
 meta/conf/machine/qemux86.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/conf/machine/qemux86.conf +3 -1
index ae5187cbd5b..f2434a4b5f5 100644
@@ -8,7 +8,9 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
 
 require conf/machine/include/qemu.inc
-require conf/machine/include/tune-i586.inc
+DEFAULTTUNE ?= "i586"
+X86ARCH32 ?= "i586"
+require conf/machine/include/tune-corei7.inc
 require conf/machine/include/qemuboot-x86.inc
 
 UBOOT_MACHINE ?= "qemu-x86_defconfig"
Signature · 1 line
2.20.1