diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-09-02 06:29:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-03 10:24:20 +0100 |
commit | 012c7fbe0a21e469db5112873e778ff7c3b17237 (patch) | |
tree | 36a45f29899d646a2b6fd1201f0bce3358d89b23 /meta/recipes-devtools/qemu | |
parent | ece99c85c27a546ea59a78875f630e82270c3177 (diff) | |
download | openembedded-core-012c7fbe0a21e469db5112873e778ff7c3b17237.tar.gz openembedded-core-012c7fbe0a21e469db5112873e778ff7c3b17237.tar.bz2 openembedded-core-012c7fbe0a21e469db5112873e778ff7c3b17237.zip |
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 <liezhi.yang@windriver.com>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
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," |