DESKTOP mode
Rob Landley
rob at landley.net
Tue Oct 3 11:15:11 PDT 2006
On Tuesday 03 October 2006 3:20 am, Bernhard Fischer wrote:
> $ yes 'N' | make oldconfig
>
> This may do the trick.
Been there, done that, and it goes into an endless loop if it ever prompts you
for something that doesn't accept N as a response (such as an option list
that presents a menu and wants a number). It also won't do what you expect
if it prompts you for a new string value (ala CONFIG_BUSYBOX_EXEC_PATH). My
old miniconfig stuff for Firmware Linux 0.8x (circa kernel 2.6.10 or so) was
based on that, and it had lots of problems. Your least objectionable option
using that approach is "yes '' | make oldconfig" to take the default values,
which will at least never go into an endless loop.
The new kconfig infrastructure that went into 2.6.15 or so has a much better
way of handling this: do a "make allnoconfig" with the environment variable
KCONFIG_ALLCONFIG pointing to the old config file (which sets all the default
values). My new miniconfig patch gives this a much better syntax and some
error checking, but the infrastructure is already there.
That's why I was planning to upgrade to the new menuconfig. It really is much
nicer...
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list