summaryrefslogtreecommitdiffstats
path: root/package/udisks
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-11-18 21:38:39 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-18 21:54:55 +0100
commit462b1cbfa68eba1bae0d4d732aeefdf3308ecae0 (patch)
treedc2a7bdb9bd8c66be7e44aa98940e436237537aa /package/udisks
parentd8566397dbc267320b2f989e32b90159787c6394 (diff)
downloadbuildroot-462b1cbfa68eba1bae0d4d732aeefdf3308ecae0.tar.gz
buildroot-462b1cbfa68eba1bae0d4d732aeefdf3308ecae0.zip
package/*: test for BR2_PACKAGE_LIBGUDEV for dependency
Make the case of adding libgudev as a dependency more consistent with all other dependency packages. The <pkg>_DEPENDENCIES variable sets the build order which is conceptually independent of the underlying reason for that dependency. Also, remove the comments in hidapi.mk and udisks.mk. These comments explain why BR2_PACKAGE_LIBGUDEV is selected, so the comments in corresponding Config.in files are enough. Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/udisks')
-rw-r--r--package/udisks/udisks.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
index bea94522a6..eccfbd25b0 100644
--- a/package/udisks/udisks.mk
+++ b/package/udisks/udisks.mk
@@ -22,12 +22,7 @@ UDISKS_DEPENDENCIES = \
UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
-# When eudev is used as the udev provider, libgudev is automatically
-# provided as it is part of eudev. However, when systemd is used as the
-# udev provider, libgudev is not provided, and needs to be built
-# separately. This is why we select the libgudev package only if systemd
-# is used.
-ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
UDISKS_DEPENDENCIES += libgudev
endif
OpenPOWER on IntegriCloud