This is already done in target and nativesdk qemu, and in
default templates for both oe-core and poky. Let's just
make it universal.
This also simplifies configurations for bitbake-setup,
as they no longer have to enable sdl separately.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
-PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman \
+PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman sdl \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
"