On Tue, 23 Nov 2021 at 21:57, Bruce Ashfield <[email protected]> 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. I see that some bits of the kernel already set PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config, but others directly use pkg-config. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#158694): https://lists.openembedded.org/g/openembedded-core/message/158694 Mute This Topic: https://lists.openembedded.org/mt/87269381/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
