Patchwork qemu: Fixup target sdl configuration to use PACKAGECONFIG

login
register
mail settings
Submitter Richard Purdie
Date Aug. 14, 2014, 2:27 p.m.
Message ID <1408026445.22187.114.camel@ted>
Download mbox | patch
Permalink /patch/78233/
State New
Headers show

Comments

Richard Purdie - Aug. 14, 2014, 2:27 p.m.
SDL is now controlled by PACKAGECONFIG, remove the DEPENDS remnant
set PACKAGECONFIG accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

pixman-native dtc-native"
 DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl
nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
@@ -79,7 +79,7 @@ do_install_append() {
 }
 # END of qemu-mips workaround
 
-PACKAGECONFIG ??= "fdt"
+PACKAGECONFIG ??= "fdt sdl"
 PACKAGECONFIG[virtfs] = "--enable-virtfs
--enable-attr,--disable-virtfs,libcap attr,"
 PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
 PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs,"

Patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc
b/meta/recipes-devtools/qemu/qemu.inc
index 8e2a9b2..0c89e0b 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -1,7 +1,7 @@ 
 SUMMARY = "Fast open source processor emulator"
 HOMEPAGE = "http://qemu.org"
 LICENSE = "GPLv2 & LGPLv2.1"
-DEPENDS = "glib-2.0 zlib alsa-lib pixman libsdl \
+DEPENDS = "glib-2.0 zlib alsa-lib pixman \
            ${@bb.utils.contains('DISTRO_FEATURES', 'x11',
'virtual/libx11', '', d)}"
 DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native