diff options
author | Markus Volk <f_l_k@t-online.de> | 2022-08-24 14:54:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-25 11:08:07 +0100 |
commit | 16e8b0954724a18495f00135a4bf94ac00b3d548 (patch) | |
tree | 058950a69ddd5c9436f6c8aff291c662e48bb164 /meta/recipes-connectivity/connman | |
parent | e5f344adbe2504419650880f8a835b094807ce5b (diff) | |
download | poky-16e8b0954724a18495f00135a4bf94ac00b3d548.tar.gz |
connman: add PACKAGECONFIG to support iwd
(From OE-Core rev: 4528cb220e5365f1f4a0a50122e14480ede65130)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 5880ecd5d4..9a518cdb2b 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -28,10 +28,15 @@ EXTRA_OECONF += "\ | |||
28 | --enable-tools \ | 28 | --enable-tools \ |
29 | --disable-polkit \ | 29 | --disable-polkit \ |
30 | " | 30 | " |
31 | # For smooth operation it would be best to start only one wireless daemon at a time. | ||
32 | # If wpa_supplicant is running, connman will use it preferentially. | ||
33 | # Select either wpa_supplicant or iwd | ||
34 | WIRELESS_DAEMON ??= "wpa_supplicant" | ||
31 | 35 | ||
32 | PACKAGECONFIG ??= "wispr iptables client\ | 36 | PACKAGECONFIG ??= "wispr iptables client\ |
33 | ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', d)} \ | 37 | ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd', d)} \ |
34 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 38 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
39 | ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'wifi ${WIRELESS_DAEMON}', '', d)} \ | ||
35 | " | 40 | " |
36 | 41 | ||
37 | # If you want ConnMan to support VPN, add following statement into | 42 | # If you want ConnMan to support VPN, add following statement into |
@@ -39,9 +44,11 @@ PACKAGECONFIG ??= "wispr iptables client\ | |||
39 | # PACKAGECONFIG:append:pn-connman = " openvpn vpnc l2tp pptp" | 44 | # PACKAGECONFIG:append:pn-connman = " openvpn vpnc l2tp pptp" |
40 | 45 | ||
41 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''" | 46 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''" |
42 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant" | 47 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi" |
43 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" | 48 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" |
44 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" | 49 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" |
50 | PACKAGECONFIG[wpa_supplicant] = ",,wpa-supplicant,wpa-supplicant" | ||
51 | PACKAGECONFIG[iwd] = "--enable-iwd,--disable-iwd,,iwd" | ||
45 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," | 52 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," |
46 | PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn" | 53 | PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn" |
47 | PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc,,vpnc" | 54 | PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc,,vpnc" |