e739dd5a11
Since eudev 3.1.3 libgudev is not shipped with this package, so libgudev can be used as regular dependency regardless of udev implementation selected. Fixes following build error: http://autobuild.buildroot.net/results/320/320c052bda0f1b5afb1e5c83a7fb4dca6227c5a1// http://autobuild.buildroot.net/results/3b0/3b096f882030325b9290ad8860bd9cd373a11dc2// Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# modem-manager
|
|
#
|
|
################################################################################
|
|
|
|
MODEM_MANAGER_VERSION = 1.4.12
|
|
MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
|
|
MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
|
|
MODEM_MANAGER_LICENSE = GPLv2+ (programs, plugins), LGPLv2+ (libmm-glib)
|
|
MODEM_MANAGER_LICENSE_FILES = COPYING
|
|
MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool libgudev
|
|
MODEM_MANAGER_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
|
|
MODEM_MANAGER_DEPENDENCIES += libqmi
|
|
MODEM_MANAGER_CONF_OPTS += --with-qmi
|
|
else
|
|
MODEM_MANAGER_CONF_OPTS += --without-qmi
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y)
|
|
MODEM_MANAGER_DEPENDENCIES += libmbim
|
|
MODEM_MANAGER_CONF_OPTS += --with-mbim
|
|
else
|
|
MODEM_MANAGER_CONF_OPTS += --without-mbim
|
|
endif
|
|
|
|
define MODEM_MANAGER_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \
|
|
$(TARGET_DIR)/etc/init.d/S44modem-manager
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|