]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
neard: use WIRELESS_DAEMON
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>
Sat, 22 Mar 2025 00:55:52 +0000 (21:55 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Mar 2025 17:16:25 +0000 (17:16 +0000)
Honor WIRELESS_DAEMON when wifi is enable for DISTRO_FEATURE.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/neard/neard_0.19.bb

index 94df1ac3d67e23981ddadaf37738c971a8521cfc..b04187bcc51b7d2a04a4f3376fbf34cb524c1408 100644 (file)
@@ -40,9 +40,10 @@ do_install:append() {
 RDEPENDS:${PN} = "dbus"
 
 # Bluez & Wifi are not mandatory except for handover
+WIRELESS_DAEMON ??= "wpa-supplicant"
 RRECOMMENDS:${PN} = "\
                      ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
-                     ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
+                     ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','${WIRELESS_DAEMON}', '', d)} \
                     "
 
 INITSCRIPT_NAME = "neard"