kumquat-buildroot/package/libmbim/libmbim.mk
Aleksander Morgado e1c06945ee libmbim: add udev as optional feature
udev support will be enabled in the build if libgudev is selected.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-09-06 23:36:13 +02:00

28 lines
760 B
Makefile

################################################################################
#
# libmbim
#
################################################################################
LIBMBIM_VERSION = 1.14.2
LIBMBIM_SITE = http://www.freedesktop.org/software/libmbim
LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
LIBMBIM_LICENSE_FILES = COPYING
LIBMBIM_INSTALL_STAGING = YES
LIBMBIM_DEPENDENCIES = libglib2
# we don't want -Werror
LIBMBIM_CONF_OPTS = --enable-more-warnings=no
# if libgudev available, request udev support
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
LIBMBIM_DEPENDENCIES += libgudev
LIBMBIM_CONF_OPTS += --with-udev
else
LIBMBIM_CONF_OPTS += --without-udev
endif
$(eval $(autotools-package))