Bug 7370 - Don't warn for defconfig+scc autogenerated BSP description
Summary: Don't warn for defconfig+scc autogenerated BSP description
Status: RESOLVED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-tooling (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.8 M4
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-26 13:36 UTC by Ola Nilsson
Modified: 2015-03-16 19:27 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.