aboutsummaryrefslogtreecommitdiff
path: root/package/ofono/ofono.mk
diff options
context:
space:
mode:
authorGravatar Marek Belisko <marek.belisko@open-nandra.com>2012-04-01 03:58:49 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-05-29 09:52:33 +0200
commit60db41fb41f00d1f5faee403ace1bc06626f995c (patch)
tree19665d6ed5b8945a8e31948ad225284cc1652c58 /package/ofono/ofono.mk
parent1fa5612194a8639247bd294fbaa1204c7defa932 (diff)
downloadbuildroot-60db41fb41f00d1f5faee403ace1bc06626f995c.tar.gz
buildroot-60db41fb41f00d1f5faee403ace1bc06626f995c.tar.bz2
Add ofono package
[Peter: add upstream URL, fix dep, drop explicit bluetooth option, no AUTORECONF] Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ofono/ofono.mk')
-rw-r--r--package/ofono/ofono.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
new file mode 100644
index 0000000000..c49ee2947b
--- /dev/null
+++ b/package/ofono/ofono.mk
@@ -0,0 +1,31 @@
+#############################################################
+#
+# ofono
+#
+#############################################################
+OFONO_VERSION = 1.5
+OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
+OFONO_DEPENDENCIES = \
+ host-pkg-config \
+ 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 $(call AUTOTARGETS))