public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Blocking allmodconfig with missing defaults (was: Re: kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new)
@ 2013-05-23  9:52 Geert Uytterhoeven
  2013-05-23 10:36 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2013-05-23  9:52 UTC (permalink / raw)
  To: Michal Marek, Ben Hutchings; +Cc: linux-kernel@vger.kernel.org, linux-kbuild

On Wed, Feb 27, 2013 at 9:37 PM, Linux Kernel Mailing List
<linux-kernel@vger.kernel.org> wrote:
> Gitweb:     http://git.kernel.org/linus/;a=commit;h=62dc989921df2a98d1a73aacd085abe941cb9828
>
>     According to Documentation/kbuild/kconfig.txt, the commands:
>
>         yes "" | make oldconfig >conf.new
>         grep "(NEW)" conf.new
>
>     should list the new config symbols with their default values.

There are other cases where this is not working.
If there are int or hex symbols without a default value, "allmodconfig",
"allyesconfig", "allnoconfig", and "randconfig" fill in empty string values,
causing a subsequent build (which does oldconfig) to wait for user input.

This is easy to reproduce:
    make ARCH=h8300 allmodconfig
    make ARCH=h8300 oldconfig

Should kconfig generate default values for these cases?
Should all int/hex symbols provide default values? If yes, I think
kconfig should
complain about missing defaults.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-23 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23  9:52 Blocking allmodconfig with missing defaults (was: Re: kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new) Geert Uytterhoeven
2013-05-23 10:36 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox