Hi Andre, ... > > One more question: how to make this function MUSL specific? > > I noticed some functions has suffix "_libc-musl" (e.g. > > do_install_append_libc-musl), but I guess this would not work for > > do_patch[postfuncs], where I specify the name.
> You can either use an intermediate variable in the recipe, e.g. > PRUNESOURCE = "" > PRUNESOURCE_libc-musl = "the-real-function" > do_patch[postfuncs] += "${PRUNESOURCE}" > Or you can call the script unconditionally and check if [ "${TCLIBC}" > = "musl" ] from inside it. Thank you! Kind regards, Petr
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#151041): https://lists.openembedded.org/g/openembedded-core/message/151041 Mute This Topic: https://lists.openembedded.org/mt/82386051/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-