On Fri, 2024-10-11 at 10:51 +0200, Alexander Kanavin wrote: > On Thu, 10 Oct 2024 at 23:01, Claus Stovgaard < > claus.stovga...@gmail.com> wrote: > > > Hope it make it more clear what workflow their is broken with the > > change, and why my patch suggest to making it a configurable > > option. > > Thanks, this is much clearer now. I do wonder if we really need all > the complication of having an extra variable (that isn't tested). Can > the dummy app recipe be written such that it takes the list of > DEPENDS, and adds everything in it to RDEPENDS, with -dev suffix? >
Thanks, I was looking into using the RDEPENDS of the dev package, and after some work I came up with below section. <snip> python package_depchains:append() { pn = d.getVar('PN') recommends = d.getVar('RRECOMMENDS:' + pn + '-dev' ) # Append the recommends to the RDEPENDS, so it end in requires for the package d.appendVar('RDEPENDS:' + pn + '-dev', recommends) } </snip> This also works pretty well, but I am hitting some problems with packages like sqlite3 and googletest (gtest). sqlite3 is becaues the resulting package is not named sqlite3-dev but libsqlite3-dev googletest_git.bb provides gmock/gtest so the package would not be named gtest-dev but googletest-dev I am working more with it, and I think there might be a solution in sight. Though if you have any ideas please share. Regards Claus
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#205705): https://lists.openembedded.org/g/openembedded-core/message/205705 Mute This Topic: https://lists.openembedded.org/mt/108685995/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-