On Tue, 2022-06-28 at 23:22 +0800, kai wrote: > From: Kai Kang <[email protected]> > > It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk' > which is set in glibc recipe. The side effect is that it removes > "${MULTILIBS}" at same time if multilib enabled. Then there will no > multilib version glibc-tests. So only remove 'nativesdk' from > BBCLASSEXTEND rather than clear it. > > Signed-off-by: Kai Kang <[email protected]> > --- > meta/recipes-core/glibc/glibc-tests_2.35.bb | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb > b/meta/recipes-core/glibc/glibc-tests_2.35.bb > index 414f8660de..028e83e865 100644 > --- a/meta/recipes-core/glibc/glibc-tests_2.35.bb > +++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb > @@ -18,7 +18,8 @@ python __anonymous() { > d.setVar("PROVIDES", "${PN} ${PN}-ptest") > d.setVar("RPROVIDES", "${PN} ${PN}-ptest") > > - d.setVar("BBCLASSEXTEND", "") > + bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", > "").strip() > + d.setVar("BBCLASSEXTEND", bbclassextend) > d.setVar("RRECOMMENDS", "") > d.setVar("SYSTEMD_SERVICE:nscd", "") > d.setVar("SYSTEMD_PACKAGES", "") > @@ -95,7 +96,7 @@ python populate_packages:prepend () { > d.setVar('DEBIAN_NAMES', '') > } > > -FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/glibc-tests/*" > +FILES:${PN} = "${PTEST_PATH}/* /usr/src/debug/${PN}/*" > > EXCLUDE_FROM_SHLIBS = "1" >
Have you tested the multilib glibc-tests and been able to use it successfully? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#167350): https://lists.openembedded.org/g/openembedded-core/message/167350 Mute This Topic: https://lists.openembedded.org/mt/92046086/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
