fabcb119b9
This patch converts udev to a virtual package. For the moment, there is only one provider for the udev features: eudev. Packages meant to provide udev-like features must select the symbol BR2_PACKAGE_HAS_UDEV. Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or BR2_PACKAGE_UDEV have been converted to use the new symbol. [Peter: move legacy symbols under 2014.05] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
962 B
Makefile
40 lines
962 B
Makefile
################################################################################
|
|
#
|
|
# ofono
|
|
#
|
|
################################################################################
|
|
|
|
OFONO_VERSION = 1.13
|
|
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
|
|
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
|
|
OFONO_LICENSE = GPLv2
|
|
OFONO_LICENSE_FILES = COPYING
|
|
OFONO_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
dbus \
|
|
libglib2 \
|
|
libcap-ng \
|
|
mobile-broadband-provider-info
|
|
|
|
OFONO_CONF_OPT = --disable-test
|
|
|
|
# N.B. Qualcomm QMI modem support requires O_CLOEXEC; so
|
|
# make sure that it is defined.
|
|
OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
OFONO_CONF_OPT += --enable-udev
|
|
OFONO_DEPENDENCIES += udev
|
|
else
|
|
OFONO_CONF_OPT += --disable-udev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
|
OFONO_CONF_OPT += --enable-bluetooth
|
|
OFONO_DEPENDENCIES += bluez_utils
|
|
else
|
|
OFONO_CONF_OPT += --disable-bluetooth
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|