[OE-core] Fwd: kernel-yocto class requires BSP definition now

Bruce Ashfield bruce.ashfield at windriver.com
Wed Aug 23 16:54:26 UTC 2017


Already discussed with Khem and Richard in the original
thread.

I'm sending another patch shortly to back this off to a note/warning.

Bruce

On 08/23/2017 12:48 PM, Andrei Gherzan wrote:
> (Resending this from the yocto mailing list)
> 
> Hello all,
> 
> Since...
> 
> commit b6f78c7a27d6d3acae63cf1fdb7b56c11c919830
> Author: Bruce Ashfield <bruce.ashfield at windriver.com 
> <mailto:bruce.ashfield at windriver.com>>
> Date:   Sun Aug 20 22:58:21 2017 -0400
> 
>      kernel-yocto: ensure that only valid BSPs are built
>      There was a bug in the search routines responsible for locating
>      BSP definitions which returned a valid match if only the ktype
>      matched.
>      This meant that someone looking for "qemux86foo" (which is an
>      invalid definition) would potentially end up building "qemuarm"
>      and be none the wiser (until it didn't boot).
>      With this fix to the tools search routine, and improved return
>      code testing, we will now stop the build and report and error to
>      the user.
>      [YOCTO: #11878]
>      (From OE-Core rev: 44aea7b87307795fe4e089c51d45afccaa2f6525)
>      Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com 
> <mailto:bruce.ashfield at windriver.com>>
>      Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org 
> <mailto:richard.purdie at linuxfoundation.org>>
> 
> 
> ... the build fails for cases where there is no scc definition used. 
> meta-raspberrypi was using this for configuration fragments feature but 
> without defining any scc or using any feature branches etc. This got 
> broken now since finding BSP definition files is a requirement in the class.
> 
> --
> Andrei Gherzan
> 




More information about the Openembedded-core mailing list