[OE-core] [PATCH] kernel-arch.bbclass: Allow 'baremetal' CPUs

Bystricky, Juro juro.bystricky at intel.com
Wed Sep 9 21:27:14 UTC 2015


I would not call it a real bug. The code just tries to initialize ARCH  (which may not be used
for baremetal situations). The name "map_kernel_arch" is a bit misleading
in this (baremetal) context.


> -----Original Message-----
> From: Phil Blundell [mailto:pb at pbcl.net]
> Sent: Wednesday, September 9, 2015 2:21 AM
> To: Bystricky, Juro
> Cc: openembedded-core at lists.openembedded.org; Purdie, Richard
> Subject: Re: [OE-core] [PATCH] kernel-arch.bbclass: Allow 'baremetal' CPUs
> 
> On Tue, 2015-09-08 at 18:19 -0700, Juro Bystricky wrote:
> > Avoid "ERROR: cannot map <cpu> to a linux kernel architecture"
> > Not being able to map a CPU to a kernel architecture should not be
> > treated as an error when building baremetal toolchains for CPU <cpu>
> > which does not have a kernel source tree.
> 
> Why is map_kernel_arch() even being invoked for a baremetal
> configuration?  That sounds like it is the real bug here.
> 
> p.
> 



More information about the Openembedded-core mailing list