Bug 7370

Summary: Don't warn for defconfig+scc autogenerated BSP description
Product: [Yocto Project Subprojects] Kernel Reporter: Ola Nilsson <ola.x.nilsson>
Component: kernel-toolingAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: sgw, yp.kernel.watcher, yp.watcher
Version: 1.8   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Ola Nilsson 2015-02-26 13:36:47 UTC
The warning

"WARNING: [kernel]: An auto generated BSP description was used, this normally indicates a misconfiguration. Check that your machine (${MACHINE}) has an associated kernel description."

should not be displayed when building a non-yocto-style kernel with a yocto-style kernel recipe.

Background:

We build our kustom kernel with a yocto-style kernel recipe, i.e. the recipe inherits from kernel-yocto.

We set our kernelconfigs for our various boards using a defconfig file added to the SRC_URI variable and a set of .scc files added to KERNEL_FEATURES.

The defconfig, .scc and .cfg files all reside in the layer alongside the recipe files.

This pattern now triggers the above warning on master.
Comment 1 Bruce Ashfield 2015-02-26 15:06:35 UTC
I ended up creating a toggle/flag for this, since it is less error prone.

The implementation is done, and after a day of soaking, I'll send it to the list.