On 9 Nov 2024, at 17:09, Guðni Már Gilbert via lists.openembedded.org <[email protected]> wrote: > > Adding this to bluez5 bbappend: > PACKAGECONFIG:class-native = "" > BBCLASSEXTEND = "native" > And to python3 bbappend: > DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', > 'bluetooth', 'bluez5-native', '', d)}" > Seems to do the trick.
Adding a PACKAGECONFIG for library that is on by default and then PACKAGECONFIG:class-native = “library” seems like a neat and self-documenting way of handling this. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206952): https://lists.openembedded.org/g/openembedded-core/message/206952 Mute This Topic: https://lists.openembedded.org/mt/109481202/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
