From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([217.72.192.75]:50847 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbfCGAKa (ORCPT ); Wed, 6 Mar 2019 19:10:30 -0500 Subject: Re: [PATCH 2/3] x86: apuv2: fix input dependencies References: <20190304201930.1622839-1-arnd@arndb.de> <20190304201930.1622839-2-arnd@arndb.de> <54a7d035-155f-c47b-1db1-acb851b3aec6@metux.net> From: "Enrico Weigelt, metux IT consult" Message-ID: <82c978b2-e9c4-e178-e4b7-621729c2cee4@metux.net> Date: Thu, 7 Mar 2019 01:10:13 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Andy Shevchenko Cc: Arnd Bergmann , Darren Hart , Andy Shevchenko , Linus Walleij , Enrico Weigelt , "open list:GPIO SUBSYSTEM" , Platform Driver , Linux Kernel Mailing List , Masahiro Yamada , linux-kbuild@vger.kernel.org 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@metux.net -- +49-151-27565287