On Fri, 2022-02-25 at 20:52 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin <a...@linutronix.de> > --- > meta/classes/sanity.bbclass | 22 +++++++++++++++++++++- > meta/conf/abi_version.conf | 2 +- > 2 files changed, 22 insertions(+), 2 deletions(-) > > diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass > index 773902e619..9dd829512a 100644 > --- a/meta/classes/sanity.bbclass > +++ b/meta/classes/sanity.bbclass > @@ -559,6 +559,23 @@ def sanity_check_conffiles(d): > bb.fatal(str(e)) > d.setVar("BB_INVALIDCONF", True) > > +def drop_v14_cross_builds(d): > + i = d.expand("${SSTATE_MANIFESTS}/index-${BUILD_ARCH}_${TARGET_ARCH}")
This is nearly there but there is one further small tweak needed. This will convert the current TARGET_ARCH but we probably need to glob the other possible options in case there are other things in the TMPDIR. I'm a bit worried that might match some other things (such as crosssdk) however if it removes too much, it would restore it from sstate so it might not matter. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#162411): https://lists.openembedded.org/g/openembedded-core/message/162411 Mute This Topic: https://lists.openembedded.org/mt/89396617/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-