[OE-core] [PATCH] [RFC] kernel: rework kernel and module classes to allow for building out-of-tree modules

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 15 19:34:08 UTC 2011


On Tue, 2011-03-15 at 12:27 -0700, Darren Hart wrote:
> 
> On 03/15/2011 11:23 AM, Richard Purdie wrote:
> > On Tue, 2011-03-15 at 10:24 -0700, Khem Raj wrote:
> >> On Tue, Mar 15, 2011 at 10:07 AM, Darren Hart<dvhart at linux.intel.com>  wrote:
> >>>
> >>> What are the ownership and perms on those?
> >>>
> >>> I suppose we could avoid the .pc directory - but it's going to require
> >>> something more than cp or some additional scripting. Something like tar's
> >>> exclude functionality might be needed - but I hate to add the intermediate
> >>> step as the kernel recipes are already so slow.
> >>
> >>
> >> hmmm I wonder why those are marked non readable in .pc directory  that
> >> seems wrong to me
> >
> > Its quilt that does this. Kind of annoying but its been doing that for a
> > few versions now...
> 
> I recall purging .pc for this reason (just in other development, outside 
> of poky).
> 
> I take it deleting .pc from the build dir would be bad as it would make 
> build/hack/build fail to work on the workdir tree. That leaves changing 
> the permissions and copying it, or just avoiding the copy. I'm leaning 
> towards avoiding the copy - but I hate to add a ton of scripting logic 
> in the copy, but that may be the best solution.

Can't you just do a "cp -r xxx/*" and if you need any . files "cp
xxx/.*" ?

Cheers,

Richard





More information about the Openembedded-core mailing list