Re: .config: do not edit ? why ?

Michael Elizabeth Chastain (mec@shout.net)
Mon, 14 Feb 2000 22:27:23 -0600


Actually, it is safe to edit .config with a text editor provided
that you do run "make oldconfig" afterwards.

"make oldconfig" reads the current .config and then writes out
a new .config and a new include/linux/autoconf.h. If you neglect
to run "make oldconfig" then you will get hosed because you will
have stale values in include/linux/autoconf.h.

Just another corner of kbuild that could use some more automation
and documentation (I would like to have "split-include.c" operate
on .config as input and *emit* include/linux/autoconf.h in addition
to the work it does now).

Michael

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/