From: Alexander Kanavin <a...@linutronix.de>

This has been the default in poky's local.conf template for
a long time, but it's not enabled directly in poky distro.
To allow better sstate reuse and a better user experience
on a typical laptop (qemu will pop up a graphical window directly),
let's add this fragment and enable it in official bitbake-setup
configurations.

Signed-off-by: Alexander Kanavin <a...@linutronix.de>
---
 meta/conf/fragments/qemu/enable-native-sdl.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta/conf/fragments/qemu/enable-native-sdl.conf

diff --git a/meta/conf/fragments/qemu/enable-native-sdl.conf 
b/meta/conf/fragments/qemu/enable-native-sdl.conf
new file mode 100644
index 00000000000..21c1298171e
--- /dev/null
+++ b/meta/conf/fragments/qemu/enable-native-sdl.conf
@@ -0,0 +1,8 @@
+BB_CONF_FRAGMENT_SUMMARY = "Enable SDL support for direct graphical output on 
the build host."
+BB_CONF_FRAGMENT_DESCRIPTION = "By default qemu is built with a internal VNC 
server \
+support. To see graphical output from the guest system, one can use a VNC 
client to \
+connect to it. This fragment enables Simple Directmedia Layer support, which 
allows \
+seeing the graphical output from guest directly in a X/Wayland session on the 
build host machine. \
+"
+
+PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
-- 
2.39.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#211876): 
https://lists.openembedded.org/g/openembedded-core/message/211876
Mute This Topic: https://lists.openembedded.org/mt/111375716/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to