[oe-commits] Richard Purdie : qemu: Move dtc(fdt) configuration to PACKAGECONFIG
git at git.openembedded.org
git at git.openembedded.org
Fri Aug 15 07:44:34 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: edc8baff0a600c380f43dfa312e93e7a41174dd8
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=edc8baff0a600c380f43dfa312e93e7a41174dd8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Aug 14 15:27:42 2014 +0100
qemu: Move dtc(fdt) configuration to PACKAGECONFIG
Converting this dependency to become a PACKAGECONFIG makes sense.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/qemu/qemu.inc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 57907ae..ed39be2 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -1,7 +1,7 @@
SUMMARY = "Fast open source processor emulator"
HOMEPAGE = "http://qemu.org"
LICENSE = "GPLv2 & LGPLv2.1"
-DEPENDS = "glib-2.0 zlib alsa-lib pixman dtc libsdl \
+DEPENDS = "glib-2.0 zlib alsa-lib pixman libsdl \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native"
DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
@@ -83,7 +83,7 @@ do_install_append() {
}
# END of qemu-mips workaround
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "fdt"
PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr,--disable-virtfs,libcap attr,"
PACKAGECONFIG[aio] = "--enable-linux-aio,--disable-linux-aio,libaio,"
PACKAGECONFIG[xfs] = "--enable-xfsctl,--disable-xfsctl,xfsprogs,"
@@ -103,6 +103,7 @@ PACKAGECONFIG[libcap-ng] = "--enable-cap-ng,--disable-cap-ng,libcap-ng,"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl,"
PACKAGECONFIG[ssh2] = "--enable-libssh2,--disable-libssh2,libssh2,"
PACKAGECONFIG[libusb] = "--enable-libusb,--disable-libusb,libusb1"
+PACKAGECONFIG[fdt] = "--enable-fdt,--disable-fdt,dtc"
# Qemu target will not build in world build for ARM or Mips
BROKEN_qemuarm = "1"
More information about the Openembedded-commits
mailing list