Yes, kallsyms is a helper program for handling symbols during kernel build and is not itself transferred to target. For the kernel, it is essentially used for the target, but its compilation process needs native tools like kallsyms. Is this case not be considered in Yocto at the beginning? Anyway, I will look for a suitable place to adjust the settings of the PKG_CONFIG_PATH variable, or bypass the call to pkg-config, thank you.
Alexander Kanavin <[email protected]> 于2019年5月15日周三 下午5:29写道: > On Wed, 15 May 2019 at 03:31, Tong Chen <[email protected]> wrote: > > +DEPENDS += "openssl-native util-linux-native pkgconfig-native > glib-2.0-native zlib-native" > > It isn't very clear, is kallsyms a native tool using during build, or > is it something for the target? > > If it's a native tool, then it's tricky. Yocto does not support mixing > native and target builds in the same recipe (what if something needs a > native glib, and something else needs the target one?); you might want > to write a separate -native recipe for the item you want to build. > > Alex >
-- _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
