[OE-core] [PATCH 2/2] kernel.bbclass: Call make with correct variables in kernelscripts_sstate_postinst

Phil Blundell pb at pbcl.net
Tue Nov 19 17:59:54 UTC 2013


On Tue, 2013-11-19 at 17:49 +0000, Mike Crowe wrote:
> On Tuesday 19 November 2013 at 12:41:40 -0500, Bruce Ashfield wrote:
> > What issue was this causing for you ? The scripts are native, and hence
> > should just be using the build machines compiler, linker and don't need
> > the kernel args.
> > 
> > So I'm not convinced that we need this patch, without seeing a tangible
> > issue that was triggered.
> 
> Well, for us v2.6.39 appears to be using the target compiler for
> something. At least, I get a lot of:

I did "make V=1 scripts" in a kernel devshell and it seems to be using
the cross-compiler to build scripts/mod/empty.o.  It's not entirely
obvious that this file actually needs to be in the sysroot, but it seems
that patching the kernel to prevent it getting built would be a bit of a
maintenance headache.

p.





More information about the Openembedded-core mailing list