, 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 于2019年5月15日周三 下午5:29写道:
> On Wed, 15 May 2019 at 03:31, Tong Chen wrote:
> > +DEPENDS += "openssl-native util-linux-native pk
add a dependency on glib-2.0 to your recipe, then
> the needed pkgconfig will be in the target sysroot.
>
> If you can copy-paste the entire recipe, that would help.
>
> Alex
>
> On Tue, 14 May 2019 at 11:06, Tong Chen wrote:
> >
> > Hi all:
> > I'm adding some
Hi all:
I'm adding some kernel extensions to poky. In summary, I need to extend
kallsyms, and the new functionality depends on glib-2.0.
So I added pkg-confi in the ./scripts/Makefile:
HOSTCFLAGS_kallsyms.o := $(shell pkg-config --cflags glib-2.0)
-I$(srctree)/scripts
HOSTLDLIBS_kallsyms :=