summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorJonas Eriksson <jonas.eriksson@enea.com>2014-01-29 10:38:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-29 17:38:48 +0000
commit245ee1643fdcdc4ae03b9e5ad3b53991d0620edb (patch)
treed99e905748083936c662cb8ce4bd9c85754dc063 /meta/recipes-devtools/qemu
parent8ef4a3c0e85508e6cc604d1e10d0d7b14a5b8508 (diff)
downloadpoky-245ee1643fdcdc4ae03b9e5ad3b53991d0620edb.tar.gz
qemu: Allow building without X11 support
To enable the construction of minimal hypervisors based on OE, it is important to be able to build qemu without it requiring X support. By checking that the distro is built with the x11 feature before adding virtual/x11 to the dependencies, this is made possible. (From OE-Core rev: e88b85406f2a6722a507b5db3485358a88d950f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 856169bb5b..1702321f95 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -1,7 +1,8 @@
1SUMMARY = "Fast open source processor emulator" 1SUMMARY = "Fast open source processor emulator"
2HOMEPAGE = "http://qemu.org" 2HOMEPAGE = "http://qemu.org"
3LICENSE = "GPLv2 & LGPLv2.1" 3LICENSE = "GPLv2 & LGPLv2.1"
4DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" 4DEPENDS = "glib-2.0 zlib alsa-lib pixman dtc libsdl \
5 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
5DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" 6DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native"
6DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" 7DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
7RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" 8RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"