Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 14:19 +, mikko.rap...@bmw.de wrote: > My only complaint is that it's not obvious in a kernel recipe that > more than do_install() is needed to export files to sysroot. > It's easy to miss the sysroot_stage_all_append() step. I think that becomes a documentation problem.

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
On Mon, Sep 24, 2018 at 02:56:49PM +0100, richard.pur...@linuxfoundation.org wrote: > On Mon, 2018-09-24 at 09:43 -0400, Bruce Ashfield wrote: > > > On Mon, 2018-09-24 at 13:20 +, mikko.rap...@bmw.de wrote: > > > > On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: > > > > > On

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 13:55 +, mikko.rap...@bmw.de wrote: > It would be nice for kernel.bbclass to help creating the custom > kernel specific -dev package with headers, and it would be nice to > have a kernel-headers.bbclass to help users to find them by adding > the path to default include

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 09:43 -0400, Bruce Ashfield wrote: > > On Mon, 2018-09-24 at 13:20 +, mikko.rap...@bmw.de wrote: > > > On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: > > > > On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: > > > > > > That was one old way,

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
On Mon, Sep 24, 2018 at 09:48:26AM -0400, Bruce Ashfield wrote: > On Mon, Sep 24, 2018 at 9:46 AM, Bruce Ashfield > wrote: > > On Mon, Sep 24, 2018 at 9:44 AM, > > wrote: > >> On Mon, 2018-09-24 at 13:42 +, mikko.rap...@bmw.de wrote: > >>> On Mon, Sep 24, 2018 at 02:38:36PM +0100,

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Bruce Ashfield
On Mon, Sep 24, 2018 at 9:46 AM, Bruce Ashfield wrote: > On Mon, Sep 24, 2018 at 9:44 AM, wrote: >> On Mon, 2018-09-24 at 13:42 +, mikko.rap...@bmw.de wrote: >>> On Mon, Sep 24, 2018 at 02:38:36PM +0100, richard.purdie@linuxfoundat >>> ion.org wrote: >>> > I was replying from the

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Bruce Ashfield
On Mon, Sep 24, 2018 at 9:44 AM, wrote: > On Mon, 2018-09-24 at 13:42 +, mikko.rap...@bmw.de wrote: >> On Mon, Sep 24, 2018 at 02:38:36PM +0100, richard.purdie@linuxfoundat >> ion.org wrote: >> > I was replying from the perspective of how this should work in >> > general. >> > I agree that

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 13:42 +, mikko.rap...@bmw.de wrote: > On Mon, Sep 24, 2018 at 02:38:36PM +0100, richard.purdie@linuxfoundat > ion.org wrote: > > I was replying from the perspective of how this should work in > > general. > > I agree that for this to work with a kernel recipe we do need

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Bruce Ashfield
On Mon, Sep 24, 2018 at 9:38 AM, wrote: > On Mon, 2018-09-24 at 13:20 +, mikko.rap...@bmw.de wrote: >> On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: >> > On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: >> > > > That was one old way, but not the only. And not

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
On Mon, Sep 24, 2018 at 02:38:36PM +0100, richard.pur...@linuxfoundation.org wrote: > On Mon, 2018-09-24 at 13:20 +, mikko.rap...@bmw.de wrote: > > On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: > > > On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: > > > > >

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread richard . purdie
On Mon, 2018-09-24 at 13:20 +, mikko.rap...@bmw.de wrote: > On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: > > On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: > > > > That was one old way, but not the only. And not for exposing > > > > non > > > > uapi > > > >

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
On Mon, Sep 24, 2018 at 02:11:13PM +0100, Richard Purdie wrote: > On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: > > > That was one old way, but not the only. And not for exposing non > > > uapi > > > headers. > > > > What other ways exist? > > > > I don't care how, but I must

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Richard Purdie
On Mon, 2018-09-24 at 12:19 +, mikko.rap...@bmw.de wrote: > > That was one old way, but not the only. And not for exposing non > > uapi > > headers. > > What other ways exist? > > I don't care how, but I must export custom kernel specific headers > and > other files to other recipes in a

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
On Mon, Sep 24, 2018 at 08:12:53AM -0400, Bruce Ashfield wrote: > On Mon, Sep 24, 2018 at 3:25 AM, wrote: > >> On Fri, Sep 21, 2018 at 7:49 AM, Mikko Rapeli > >> wrote: > >> > This change enables kernel recipes to share files with other > >> > recipes. Firmware, modules and kernel-depmod are

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Bruce Ashfield
On Mon, Sep 24, 2018 at 3:25 AM, wrote: >> On Fri, Sep 21, 2018 at 7:49 AM, Mikko Rapeli wrote: >> > This change enables kernel recipes to share files with other >> > recipes. Firmware, modules and kernel-depmod are still not shared >> > since according to git history they cause problems with

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-24 Thread Mikko.Rapeli
> On Fri, Sep 21, 2018 at 7:49 AM, Mikko Rapeli wrote: > > This change enables kernel recipes to share files with other > > recipes. Firmware, modules and kernel-depmod are still not shared > > since according to git history they cause problems with multiarch, > > but all others are allowed.

Re: [OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-21 Thread Bruce Ashfield
On Fri, Sep 21, 2018 at 7:49 AM, Mikko Rapeli wrote: > This change enables kernel recipes to share files with other > recipes. Firmware, modules and kernel-depmod are still not shared > since according to git history they cause problems with multiarch, > but all others are allowed. Examples of

[OE-core] [PATCH] kernel.bbclass: allow exporting files from kernel recipes to sysroot

2018-09-21 Thread Mikko Rapeli
This change enables kernel recipes to share files with other recipes. Firmware, modules and kernel-depmod are still not shared since according to git history they cause problems with multiarch, but all others are allowed. Examples of shared files are kernel version and recipe specific headers and