diff options
author | Jonas Eriksson <jonas.eriksson@enea.com> | 2014-01-29 10:38:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-29 17:38:48 +0000 |
commit | 245ee1643fdcdc4ae03b9e5ad3b53991d0620edb (patch) | |
tree | d99e905748083936c662cb8ce4bd9c85754dc063 /meta/recipes-devtools/qemu | |
parent | 8ef4a3c0e85508e6cc604d1e10d0d7b14a5b8508 (diff) | |
download | poky-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.inc | 3 |
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 @@ | |||
1 | SUMMARY = "Fast open source processor emulator" | 1 | SUMMARY = "Fast open source processor emulator" |
2 | HOMEPAGE = "http://qemu.org" | 2 | HOMEPAGE = "http://qemu.org" |
3 | LICENSE = "GPLv2 & LGPLv2.1" | 3 | LICENSE = "GPLv2 & LGPLv2.1" |
4 | DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl" | 4 | DEPENDS = "glib-2.0 zlib alsa-lib pixman dtc libsdl \ |
5 | ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" | ||
5 | DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" | 6 | DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native" |
6 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" | 7 | DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc" |
7 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" | 8 | RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl" |