On Mon, 11 Nov 2024 at 18:34, Guðni Már Gilbert via lists.openembedded.org <gudni.m.g=gmail....@lists.openembedded.org> wrote: > +# Enable support for AF_BLUETOOTH socket family > +DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', > 'bluetooth', 'bluez5-native', '', d)}"
This is brittle and can be improved. If bluez5-native arrives into sysroot through some other way than the distro feature, then the python support will be quetly enabled even if it wasn't asked for. The correct way can be seen in e.g. strace recipe: PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5" Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#207038): https://lists.openembedded.org/g/openembedded-core/message/207038 Mute This Topic: https://lists.openembedded.org/mt/109519521/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-