]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: warn when a generated BSP description is used
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 20 Feb 2015 18:38:03 +0000 (13:38 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Feb 2015 22:04:23 +0000 (22:04 +0000)
commitf4a460afc4e2676cbf1daaa1d6723da9e6146526
tree3f5c33f75ae5b2e612eaee1f98e5fd057eb5f336
parent329a028bec428e8dc8cf3420c6e462de2898c8aa
linux-yocto: warn when a generated BSP description is used

The meta data (in tree or out of tree) that describes a BSP, its patches
and configuration is not always available when a new/default or manually
configured machine is built.

When this happens, the tools generate a skeleton BSP and use a
architecture defconfig for the build. If this is by design, the build
is typically sane and everything works fine. If an existing BSP
description was expected, chances are that the resulting kernel will not
be correct.

To avoid surprising the user when a default/skeleton BSP is used for the
build, we can make it obvious to the user by emitting a warning like
the following:

   WARNING: [kernel]: An auto generated BSP description was used, this normally indicates a misconfiguration.
            Check that your machine (myqemux86-64) has an associated kernel description.

[YOCTO: #3383]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-yocto.bbclass