From: Robert Yang Date: Tue, 2 Sep 2014 13:29:13 +0000 (-0700) Subject: qemu-native: only depends on libxext-native when x11 X-Git-Tag: 2015-4~1647 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=012c7fbe0a21e469db5112873e778ff7c3b17237;p=openembedded-core.git qemu-native: only depends on libxext-native when x11 Fixed when build without x11 in DISTRO_FEATURES: ERROR: libxext-native was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index f771740128..c8b400a366 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -87,7 +87,7 @@ PACKAGECONFIG ??= "fdt sdl alsa" PACKAGECONFIG_class-native ??= "fdt alsa" PACKAGECONFIG_class-nativesdk ??= "fdt sdl" NATIVEDEPS = "" -NATIVEDEPS_class-native = "libxext-native" +NATIVEDEPS_class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxext-native', '',d)}" PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl ${NATIVEDEPS}," PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr," PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"