summaryrefslogtreecommitdiffstats
path: root/package/ofono/ofono.mk
blob: 6e6849b40d047eea0463b4aa322d429cd69e5c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#############################################################
#
# ofono
#
#############################################################
OFONO_VERSION = 1.6
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
OFONO_DEPENDENCIES = \
	host-pkgconf \
	dbus \
	libglib2 \
	libcap-ng \
	mobile-broadband-provider-info

OFONO_CONF_OPT = --disable-test

ifeq ($(BR2_PACKAGE_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))