connman 0.74: enable ntp plugin
authorKoen Kooi <koen@dominion.thruhere.net>
Wed, 8 Jun 2011 13:26:13 +0000 (15:26 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:12:53 +0000 (08:12 -0800)
(From meta-openembedded rev: 2d994bb8560c83e0444869ba189b46a1a8094a12)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/connman/connman.inc
meta-openembedded/meta-oe/recipes-connectivity/connman/connman_0.74.bb

index 7dd30fc..c0cdf7b 100644 (file)
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
                     file://src/main.c;beginline=1;endline=20;md5=4b55b550fa6b33cc2055ef30dd262b3e"
 
 # we need to define the depends here, the dynamic stuff is too late
-DEPENDS  = "libnl wpa-supplicant dbus glib-2.0 ppp busybox dhcp resolvconf bluez4 iptables gnutls"
+DEPENDS  = "libnl wpa-supplicant dbus glib-2.0 ppp busybox dhcp resolvconf bluez4 iptables gnutls ntp"
 
 EXTRA_OECONF += "\
     ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
@@ -46,7 +46,7 @@ do_install_append() {
 }
 
 python populate_packages_prepend() {
-       depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4" )
+       depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp" )
        packages = []
        hook = lambda file,pkg,b,c,d:packages.append((file,pkg))
        plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
index 7d6630e..7e29487 100644 (file)
@@ -1,5 +1,7 @@
 require connman.inc
 
+PR = "r1"
+
 EXTRA_OECONF += "\
   --disable-gtk-doc \
   --enable-debug \
@@ -7,15 +9,14 @@ EXTRA_OECONF += "\
   --enable-loopback \
   --enable-ethernet \
   --enable-wifi \
-  --disable-wimax \
   --enable-bluetooth \
   --enable-ofono \
-  --enable-resolvconf \
-  --enable-dnsproxy \
   --enable-tools \
   --disable-polkit \
   --enable-client \
   --enable-fake \
+  --enable-ntpd \
+  --with-ntpd=${bindir}/ntpd \
 "
 
 SRC_URI  = "\