Skip to contentSkip to conversation

connman: rename bluez PACKAGECONFIG to bluetooth

PATCH New Jean-Francois Dagenais 1 participant 1 message Mar 8, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connman: rename bluez PACKAGECONFIG to bluetooth

The configure option is "--enable-bluetooth". Plus there is the RPROVIDES_${PN} assignment below which mistakenly (but instinctively) looks for "bluetooth" in PACKAGECONFIG.

---
 meta/recipes-connectivity/connman/connman.inc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta/recipes-connectivity/connman/connman.inc +2 -3
index 0ba375137d..bc6f484e71 100644
@@ -31,8 +31,7 @@ EXTRA_OECONF += "\
 "
 
 PACKAGECONFIG ??= "wispr \
-                   ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', d)} \
-                   ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
+                   ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi bluetooth', d)} \
                    iptables \
 "
 
@@ -42,7 +41,7 @@ PACKAGECONFIG ??= "wispr \
 
 PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''"
 PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant"
-PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}, ${BLUEZ}"
+PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, ${BLUEZ}, ${BLUEZ}"
 PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono"
 PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
 PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn"
Signature · 1 line
2.11.0