summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-23 15:31:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 17:01:44 +0000
commit189a854e8deff6c6ffa3f1e22725a038ec83471f (patch)
tree5531425e497fd10e752a04207c2239e02551c689 /meta/recipes-devtools/qemu/qemu.inc
parentdfd6c546c4770350608e9a5313183d18f8119677 (diff)
downloadpoky-189a854e8deff6c6ffa3f1e22725a038ec83471f.tar.gz
qemu: enable building qemu-nativesdk without x11
Allow building for nativesdk with x11 removed from DISTRO_FEATURES by conditionally disabling qemugl (which requires X). Fixes [YOCTO #2020] (From OE-Core rev: 136b13eb6a682222e2af887d3247a61310476c70) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-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 33abf96f6c..27ce14d92a 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -57,7 +57,8 @@ do_install () {
57} 57}
58 58
59DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native" 59DEPENDS_virtclass-native = "zlib-native alsa-lib-native glib-2.0-native"
60DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk qemugl-nativesdk glib-2.0-nativesdk" 60DEPENDS_virtclass-nativesdk = "zlib-nativesdk libsdl-nativesdk glib-2.0-nativesdk \
61 ${@base_contains('DISTRO_FEATURES', 'x11', 'qemugl-nativesdk', '', d)}"
61RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk" 62RDEPENDS_virtclass-nativesdk = "libsdl-nativesdk"
62EXTRA_OECONF_virtclass-nativesdk += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls" 63EXTRA_OECONF_virtclass-nativesdk += "--target-list=${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls"
63 64