summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/connman/connman.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index ff3aff5f1f..d3eeb3be1c 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
15 15
16inherit autotools pkgconfig systemd update-rc.d update-alternatives 16inherit autotools pkgconfig systemd update-rc.d update-alternatives
17 17
18DEPENDS = "dbus glib-2.0 ppp readline" 18DEPENDS = "dbus glib-2.0 ppp"
19 19
20INC_PR = "r20" 20INC_PR = "r20"
21 21
@@ -27,13 +27,11 @@ EXTRA_OECONF += "\
27 --enable-ethernet \ 27 --enable-ethernet \
28 --enable-tools \ 28 --enable-tools \
29 --disable-polkit \ 29 --disable-polkit \
30 --enable-client \
31" 30"
32 31
33PACKAGECONFIG ??= "wispr \ 32PACKAGECONFIG ??= "wispr iptables client\
34 ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', d)} \ 33 ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', d)} \
35 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 34 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
36 iptables \
37" 35"
38 36
39# If you want ConnMan to support VPN, add following statement into 37# If you want ConnMan to support VPN, add following statement into
@@ -54,6 +52,7 @@ PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls,"
54PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 kernel-module-nft-nat" 52PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 kernel-module-nft-nat"
55PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables" 53PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables"
56PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard" 54PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard"
55PACKAGECONFIG[client] = "--enable-client,--disable-client,readline"
57 56
58INITSCRIPT_NAME = "connman" 57INITSCRIPT_NAME = "connman"
59INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." 58INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
@@ -87,7 +86,6 @@ do_install_append() {
87 if [ -e ${B}/tools/wispr ]; then 86 if [ -e ${B}/tools/wispr ]; then
88 install -m 0755 ${B}/tools/wispr ${D}${bindir} 87 install -m 0755 ${B}/tools/wispr ${D}${bindir}
89 fi 88 fi
90 install -m 0755 ${B}/client/connmanctl ${D}${bindir}
91 89
92 # We don't need to package an empty directory 90 # We don't need to package an empty directory
93 rmdir --ignore-fail-on-non-empty ${D}${libdir}/connman/scripts 91 rmdir --ignore-fail-on-non-empty ${D}${libdir}/connman/scripts