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 11:09:04 +0100 |
commit | b2a93ca8e853d6479983408e6294c7fb38159c92 (patch) | |
tree | 75ba0fa5c2d83da6cb1f622c41179413cfc82652 /meta | |
parent | 187c831fe660f653a462b7e1c8b06367e0b24cb3 (diff) | |
download | poky-b2a93ca8e853d6479983408e6294c7fb38159c92.tar.gz |
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)
(From OE-Core rev: 012c7fbe0a21e469db5112873e778ff7c3b17237)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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" | |||
87 | PACKAGECONFIG_class-native ??= "fdt alsa" | 87 | PACKAGECONFIG_class-native ??= "fdt alsa" |
88 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl" | 88 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl" |
89 | NATIVEDEPS = "" | 89 | NATIVEDEPS = "" |
90 | NATIVEDEPS_class-native = "libxext-native" | 90 | NATIVEDEPS_class-native = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxext-native', '',d)}" |
91 | PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl ${NATIVEDEPS}," | 91 | PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl ${NATIVEDEPS}," |
92 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr," | 92 | PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr," |
93 | PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," | 93 | PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio," |