[yocto] how can i figure out where a particular kernel config option came from?

Bruce Ashfield bruce.ashfield at windriver.com
Wed Dec 9 05:39:15 PST 2015


On 12/09/2015 05:36 AM, Robert P. J. Day wrote:
>
>    short version: with a short BSP layer i've been handed, the eventual
> kernel .config file ends up with the setting:
>
>    CONFIG_WIRELESS=y
>
> which makes no sense as the target board has no wireless and the BSP
> itself doesn't set that, so how can i start tracking back to figure
> out where that particular setting came from?
>
>    long version: i'm actually using Wind River Linux 7, but the
> question remains the same. it turns out that CONFIG_WIRELESS is
> selected by CONFIG_WLAN, so i'm really after what sets CONFIG_WLAN. i
> don't see it in the BSP layer, so i'm tracing back to the WR kernel
> recipe, and possibly features templates and any other kernel .cfg
> snippets i can find, so far with no luck.
>
>    in either case, is there a log file that lists *precisely* which
> kernel config snippets contributed to the final .config file? thanks.

The meta-series in the kernel source directory has all the details.
If you locate the kernel source for your build, it'll be in a 'meta'
or '.meta' directory (depending on the version of the tools), and be
called ... 'meta-series'.

Bruce

>
> rday
>




More information about the yocto mailing list