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,
Hi Alex, thank you so much for your quick reply.
In fact, I just modified the linux-yocto_5.0.bb file directly:
~/code/poky_new/poky$ git diff meta/recipes-kernel/linux/linux-yocto_5.0.bb
Diff --git a/meta/recipes-kernel/linux/linux-yocto_5.0.bb
b/meta/recipes-kernel/linux/linux-yocto_5.0.bb
You probably need to 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 kernel extensions to poky. In
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 :=