On Wed, Nov 24, 2021 at 9:46 AM Ross Burton <r...@burtonini.com> wrote: > > On Tue, 23 Nov 2021 at 21:57, Bruce Ashfield <bruce.ashfi...@gmail.com> wrote: > > We weren't able to even run the validation at all, due to the kernel > > calling pkg-config directly to check for libyaml, which is the target > > pkgconfig and failing on missing dependencies. Rather than patching > > the kernel, I've finally given in and made the do_compile task set > > the PKG_CONFIG variables to point to our native-sysroot. > > The correct fix here would be the kernel should use $PKG_CONFIG (or > ideally, BUILD_PKGCONFIG or similar for host lookups) and then you can > override it with export PKGCONFIG=pkgconfig-native. >
Agreed, that's what I was referring to as the medium term solution. Once I get 5.16 working, I'll look into sending patches upstream to the various bare calls to pkgconfig Bruce > I see that some bits of the kernel already set PKG_CONFIG ?= > $(CROSS_COMPILE)pkg-config, but others directly use pkg-config. > > Ross -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#158711): https://lists.openembedded.org/g/openembedded-core/message/158711 Mute This Topic: https://lists.openembedded.org/mt/87269381/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-