kumquat-buildroot/package/udisks/udisks.mk
Baruch Siach 462b1cbfa6 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>
2015-11-18 21:54:55 +01:00

34 lines
677 B
Makefile

################################################################################
#
# udisks
#
################################################################################
UDISKS_VERSION = 1.0.5
UDISKS_SITE = http://hal.freedesktop.org/releases
UDISKS_LICENSE = GPLv2+
UDISKS_LICENSE_FILES = COPYING
UDISKS_DEPENDENCIES = \
sg3_utils \
host-pkgconf \
udev \
dbus \
dbus-glib \
polkit \
parted \
lvm2 \
libatasmart
UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
UDISKS_DEPENDENCIES += libgudev
endif
ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
UDISKS_CONF_OPTS += --enable-lvm2
endif
$(eval $(autotools-package))