From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id EC3F47AA for ; Sun, 9 Jul 2017 17:32:30 +0000 (UTC) Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 927E78D for ; Sun, 9 Jul 2017 17:32:30 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id q85so11445400pfq.2 for ; Sun, 09 Jul 2017 10:32:30 -0700 (PDT) To: Geert Uytterhoeven , Linus Walleij References: <20170706144028.46a2mt2mdzpt6ip7@mwanda> <20170706144208.6hlgxwo37gntk6qm@mwanda> <20170707090206.uiry6j7yizpl7yw4@mwanda> From: Frank Rowand Message-ID: <596268A6.3080007@gmail.com> Date: Sun, 9 Jul 2017 10:32:22 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Dan Carpenter , "ksummit-discuss@lists.linuxfoundation.org" , Michal Hocko Subject: Re: [Ksummit-discuss] [PATCH 2/2] kconfig: new command line kernel configuration tool List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/09/17 01:31, Geert Uytterhoeven wrote: > On Sun, Jul 9, 2017 at 5:56 AM, Linus Walleij wrote: >>> Krzysztof Kozlowski wrote: >>>> However why not extending existing scripts/config? It >>>> already has the feature for setting kconfig options (without looking >>>> at dependencies - so like >> of yours). >>> >>> I didn't know about scripts/config when I wrote it. scripts/config is >>> essentially a UI around "echo CONFIG_FOO=m >> .config". It's totally >>> useless. >> >> Maybe useless for you but i use it every day in my work. To compile a kernel > > I assume the script has it uses. > But to scratch Dan's itch (and mine, for generating .config from DTS), which > is the non-trivial case, it may not work. Hi Geert, An aid, though not a full solution, is scripts/dtc/dt_to_config. Though if I remember correctly, you are already familiar with that. For anyone who wants more information on the complexities of using dt_to_config, how to use it, and why it has difficulties providing a precise configuration automatically, see: http://elinux.org/Device_Tree_presentations_papers_articles#linux_kernel_configuration slides 33 - 80. -Frank > So I'll definitely give Dan's script a try, thanks! > >> yes "" | make $(make_options) oldconfig > > That will become an infinite loop if "y" is not a valid answer for the newly > introduced option (e.g. if it needs a number)? > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > _______________________________________________ > Ksummit-discuss mailing list > Ksummit-discuss@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss >