[Ksummit-discuss] [PATCH 2/2] kconfig: new command line kernel configuration tool

Geert Uytterhoeven geert at linux-m68k.org
Sun Jul 9 19:43:20 UTC 2017


On Sun, Jul 9, 2017 at 7:03 PM, Randy Dunlap <rdunlap at infradead.org> wrote:
> On 07/09/2017 01:31 AM, Geert Uytterhoeven wrote:
>> On Sun, Jul 9, 2017 at 5:56 AM, Linus Walleij <linus.walleij at linaro.org> 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.
>> 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)?
>
> yes ""
> just answers with a null string, not 'y'.

Oops, that's correct. /me on a lazy Sunday afternoon...
So the difficult part is "yes y" or "yes n".

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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


More information about the Ksummit-discuss mailing list