aboutsummaryrefslogtreecommitdiff
path: root/package/udisks/Config.in
diff options
context:
space:
mode:
authorGravatar Spenser Gilliland <spenser@gillilanding.com>2013-07-15 14:47:50 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 17:13:37 +0200
commit51788521b7467942a550cb1d077e6550a7472498 (patch)
tree9948eacc6e23b4cd444d96f2693b0cc56e9a6955 /package/udisks/Config.in
parent3fed58bd509b8dbb1ea5fe088fe92eb8cd86a410 (diff)
downloadbuildroot-51788521b7467942a550cb1d077e6550a7472498.tar.gz
buildroot-51788521b7467942a550cb1d077e6550a7472498.tar.bz2
libglib2: needs threads
This commit adds a dependency of the libglib2 package on thread support in the toolchain, since upstream libglib2 doesn't build without thread support. The commit is rather large as it involves propagating the dependency on thread support to all reverse dependencies of the libglib2 package. [Thomas: squash all patches into one, make a few minor fixes, the most important one being to not add comments about MMU requirement when a package doesn't work on !MMU platforms.] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Diffstat (limited to 'package/udisks/Config.in')
-rw-r--r--package/udisks/Config.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/package/udisks/Config.in b/package/udisks/Config.in
index a50b3ea335..dca23ea4fe 100644
--- a/package/udisks/Config.in
+++ b/package/udisks/Config.in
@@ -1,12 +1,13 @@
config BR2_PACKAGE_UDISKS
bool "udisks"
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
depends on BR2_USE_MMU # lvm2
select BR2_PACKAGE_UDEV
select BR2_PACKAGE_UDEV_ALL_EXTRAS
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
+ depends on BR2_USE_WCHAR # dbus-glib -> glib2
select BR2_PACKAGE_SG3_UTILS
select BR2_PACKAGE_POLKIT
select BR2_PACKAGE_PARTED
@@ -24,12 +25,16 @@ config BR2_PACKAGE_UDISKS
http://www.freedesktop.org/wiki/Software/udisks
+if BR2_PACKAGE_UDISKS
+
config BR2_PACKAGE_UDISKS_LVM2
bool "lvm2 support"
- depends on BR2_PACKAGE_UDISKS
select BR2_PACKAGE_LVM2_APP_LIBRARY
help
Enable LVM2 support
-comment "udisks requires /dev mgmnt set to udev under System configuration"
- depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+endif
+
+comment "udisks requires /dev mgmnt set to udev under System configuration and a toolchain with WCHAR and threading support"
+ depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
+ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS