Re: [poky] [PATCH] poky: Do not inherit uninative on ppc64le and riscv64 hosts
Richard Purdie <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <b989c56434e4410a251b8678248246218a4b249f.camel@linuxfoundation.org> |
On Mon, 2023-11-06 at 09:10 -0800, Khem Raj wrote: > uninative tarballs for these architectures is not available > > Signed-off-by: Khem Raj <[email protected]> > --- > meta-poky/conf/distro/poky.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-poky/conf/distro/poky.conf b/meta-poky/conf/distro/poky.conf > index e742666b4e5..ccad9c835a7 100644 > --- a/meta-poky/conf/distro/poky.conf > +++ b/meta-poky/conf/distro/poky.conf > @@ -62,7 +62,7 @@ require conf/distro/include/poky-world-exclude.inc > require conf/distro/include/no-static-libs.inc > require conf/distro/include/yocto-uninative.inc > require conf/distro/include/security_flags.inc > -INHERIT += "uninative" > +INHERIT += "${@bb.utils.contains_any('BUILD_ARCH', 'ppc64le riscv64', '', 'uninative', d)}" > > BB_SIGNATURE_HANDLER ?= "OEEquivHash" > BB_HASHSERVE ??= "auto" I really don't like conditional inherits and I suspect there are other architectures this doesn't work. It would probably better to improve the uninative code itself. Cheers, Richard