[oe-commits] Robert Yang : qemu-native: only depends on libxext-native when x11

git at git.openembedded.org git at git.openembedded.org
Tue Sep 2 13:50:21 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 5a3006260c5ecf0651521e60feaa430bd165bdcc
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5a3006260c5ecf0651521e60feaa430bd165bdcc

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Tue Sep  2 06:29:13 2014 -0700

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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/qemu/qemu.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index f771740..c8b400a 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,"



More information about the Openembedded-commits mailing list