summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-14 15:27:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 08:46:40 +0100
commit15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d (patch)
tree94356092cd10e61d5013dc97eae3e27736ef9913 /meta/recipes-devtools
parent8c2ade6f48dcc522c68f798286d1c43bd2c1c8e7 (diff)
downloadopenembedded-core-15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d.tar.gz
openembedded-core-15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d.tar.bz2
openembedded-core-15d7dc8df4b508acfeac43a8d0f9e15889ec3e7d.zip
qemu: Move dtc(fdt) configuration to PACKAGECONFIG
Converting this dependency to become a PACKAGECONFIG makes sense. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 57907ae5c8..ed39be2432 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"