From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Tim Johnson <Tim.Johnson@calix.com>,
"poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: Sharing Header Files between Kernel Modules
Date: Wed, 07 Feb 2018 00:01:07 +0000 [thread overview]
Message-ID: <1517961667.3090.102.camel@linuxfoundation.org> (raw)
In-Reply-To: <DM5PR05MB29558E5FAE0822DBB84D79D5E5FD0@DM5PR05MB2955.namprd05.prod.outlook.com>
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
prev parent reply other threads:[~2018-02-07 0:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 23:03 Sharing Header Files between Kernel Modules Tim Johnson
2018-02-07 0:01 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1517961667.3090.102.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=Tim.Johnson@calix.com \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.