* Sharing Header Files between Kernel Modules
@ 2018-02-06 23:03 Tim Johnson
2018-02-07 0:01 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Tim Johnson @ 2018-02-06 23:03 UTC (permalink / raw)
To: poky@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]
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:
1. they can be found by other kernel modules while compiling
2. 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.
Tim
[-- Attachment #2: Type: text/html, Size: 4374 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sharing Header Files between Kernel Modules
2018-02-06 23:03 Sharing Header Files between Kernel Modules Tim Johnson
@ 2018-02-07 0:01 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2018-02-07 0:01 UTC (permalink / raw)
To: Tim Johnson, poky@yoctoproject.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-07 0:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-06 23:03 Sharing Header Files between Kernel Modules Tim Johnson
2018-02-07 0:01 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.