[linux-yocto] how to add recipe-sysroot-native to PKG_CONFIG_PATH for linux-yocto

Alexander Kanavin alex.kanavin at gmail.com
Wed May 15 02:28:58 PDT 2019


On Wed, 15 May 2019 at 03:31, Tong Chen <yihect at gmail.com> 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


More information about the linux-yocto mailing list