Re: [PATCH 2/3] x86: apuv2: fix input dependencies
From: Enrico Weigelt, metux IT consult
Date: Wed Mar 06 2019 - 19:10:32 EST
On 05.03.19 14:56, Andy Shevchenko wrote:
>
> Darren gave a talk about merging kernel configs to get something like
> you want to.
> This tool is quite long already lying around. merge_config.sh in your
> kernel source tree.
Yes, that's similar to how some distros (eg. yocto) do it.
But my requirements are a bit more complex:
In my final meta-config, I just wanna say:
* i have board A (possibly multiple boards)
* i need features X, Y, Z (eg. eth, display, can, ext4, acl, ...)
And that shall be all to generate a minimal config for exactly those
requirements.
Doing that by just putting config snippets together, quickly turns into
a maintenance hell. At least you'd need recursive dependencies and some
if/else logic.
That's why I've written kmct:
https://github.com/metux/kmct
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287