[poky] Sharing Header Files between Kernel Modules
Richard Purdie
richard.purdie at linuxfoundation.org
Tue Feb 6 16:01:07 PST 2018
On Tue, 2018-02-06 at 23:03 +0000, Tim Johnson wrote:
> I am using Morty (2.2).
>
> I have several kernel modules with header files that need to accessed
> by other kernel modules when building.
>
> Where can I install the header files so:
> they can be found by other kernel modules while compiling
> they will be created during an sstate build
>
> I was able to install the header files in:
> ‘${STAGING_KERNEL_DIR}/include/linux/exa’ (in work-shared). The other
> modules were able to find the header files, but that approach breaks
> the build from sstates.
Doesn't installing to ${D}${includedir} in do_install work? (or pick
your directory in ${D}). Note you need to DEPEND on the recipe
installing the files.
Cheers,
Richard
More information about the poky
mailing list