Skip to contentSkip to conversation

Add comment about qemu

PATCH New Ross Burton 1 participant 2 messages Jun 29

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add comment about qemu

---
 meta/conf/templates/default/local.conf.sample | 4 ++++
 1 file changed, 4 insertions(+)
meta/conf/templates/default/local.conf.sample +4 -0
index 2a0eea493cc..2b837806b1d 100644
@@ -228,6 +228,10 @@ BB_DISKMON_DIRS ??= "\
 # a handy set of menus for controlling the emulator.
 #PACKAGECONFIG:append:pn-qemu-system-native = " gtk+"
 
+# Alternatively, if your build machine is headless then you can disable the graphical
+# options to reduce the build dependencies.
+#PACKAGECONFIG:remove:pn-qemu-system-native = "gtk+ sdl"
+
 #
 # Hash Equivalence
 #
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 qemu: set the compilation progress bar flag

Qemu uses meson to build but wraps it in Makefiles, so we don't get the progress bar assignment from meson.bbclass.

---
 meta/recipes-devtools/qemu/qemu.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/qemu/qemu.inc +3 -0
index 3071f74650a..4a48ace0482 100644
@@ -143,6 +143,9 @@ do_configure() {
 }
 do_configure[cleandirs] += "${B}"
 
+# Use the Meson progress regex as qemu uses meson internally
+do_compile[progress] = "outof:^\[(\d+)/(\d+)\]\s+"
+
 do_install () {
 	export STRIP=""
 	oe_runmake 'DESTDIR=${D}' install
Signature · 1 line
2.43.0