On 24 Aug 2022, at 13:50, Markus Volk via lists.openembedded.org <f_l_k=t-online...@lists.openembedded.org> wrote: > +# For smooth operation it would be best to start only one wireless daemon at > a time. > +# If wpa_supplicant is running, connman will use it preferentially. > +# Select either wpa_supplicant or iwd > +WIRELESS_DAEMON ??= "wpa_supplicant" > PACKAGECONFIG ??= "wispr iptables client\ > - ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd wifi', > d)} \ > + ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd', d)} \ > ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', > 'bluez', '', d)} \ > + ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'wifi > ${WIRELESS_DAEMON}', '', d)} \ > "
This is over-complicating things. Why is the wifi daemon a special configuration option? Just have wpa_supplicant in the default PACKAGECONFIG, and people who want to use iwd can set PACKAGECONFIG. > +PACKAGECONFIG[wpa_supplicant] = ",,wpa-supplicant,wpa-supplicant" > +# iwd would be required as a runtime dependency. it is nevertheless given as > a recommendation because the recipe for it > +# is not included in oe-core. > +PACKAGECONFIG[iwd] = "--enable-iwd,--disable-iwd,,,iwd" This definitely should be RDEPENDS. Note that if wpa_supplicant and iwd are mutually exclusive, you can express that in the PACKAGECONFIG: https://docs.yoctoproject.org/ref-manual/variables.html?#term-PACKAGECONFIG Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#169857): https://lists.openembedded.org/g/openembedded-core/message/169857 Mute This Topic: https://lists.openembedded.org/mt/93225636/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-