Skip to contentSkip to conversation

qemu-native: only depends on libxext-native when x11

PATCH New Robert Yang 1 participant 2 messages Sep 2, 2014

lore
Share & tools
lore
#0 lore raw

cover qemu-native: only depends on libxext-native when x11

The following changes since commit 4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce:

python-numpy: Fix build for mips64 (2014-09-01 18:00:32 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/qemu
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/qemu

Robert Yang (1):
qemu-native: only depends on libxext-native when x11

 meta/recipes-devtools/qemu/qemu.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 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)

---
 meta/recipes-devtools/qemu/qemu.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/qemu/qemu.inc +1 -1
index f771740..c8b400a 100644
@@ -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,"
Signature · 1 line
1.7.9.5