[RFC] First pass config fragment breakout for linaro kernel

Jon Medhurst (Tixy) tixy at linaro.org
Wed Mar 28 09:56:27 UTC 2012


On Tue, 2012-03-27 at 09:36 -0700, John Stultz wrote:
> On 03/27/2012 06:40 AM, Jon Medhurst (Tixy) wrote:
> > Finally, where can I find links to any docs on config fragments? I
> > started trying to create a fragment for vexpress which just contained:
> >
> > CONFIG_ARCH_VEXPRESS=y
> > CONFIG_ARCH_VEXPRESS_CA9X4=y
> >
> > but merge_config.sh said "Value requested for CONFIG_ARCH_VEXPRESS not
> > in final .config".
> >
> So this is likely due to the ARCH_VEXPRESS option having dependencies 
> that aren't met.
> 
> They way I usually sort this out is, after building the config.  I call 
> make menuconfig and hit "/ARCH_VEXPRESS" and it will show the current 
> state of the dependencies for that option. The ones that aren't set, I 
> then add to the config fragment.

Good tip, and one I've used before. In this case there are no
dependencies on CONFIG_ARCH_VEXPRESS but the missing step which fixes my
problem is to define ARCH=arm ...

ARCH=arm scripts/kconfig/merge_config.sh

I guess without this none of the Kconfig files in arch/arm are seen.

-- 
Tixy




More information about the linaro-dev mailing list