Re: A new config program -- anyone interested?

Michael Elizabeth Chastain (mec@shout.net)
Mon, 7 Aug 2000 22:38:25 -0500


Hi Paul,

> In addition to the files .config and include/linux/autoconf.h, qconfig
> will produce a file "qconfig.out" containing the script of what would
> have happened if one had typed "make config" and accepted all the
> default choices except those given in qconfig.in.

Hmmm. I think qconfig.in and qconfig.out are useful ideas but I think
you can implement them with much less code.

# Makefile rules

qconfig:
cat arch/$(ARCH)/defconfig qconfig.in > .config
$(MAKE) oldconfig # or copy the oldconfig rules here
diff arch/$(ARCH)/defconfig .config \
| awk {blah, blah, blah} ... \
> qconfig.out

A note to the other people who have replied: qconfig is not the same as
oldconfig. With qconfig, if a variable is not in qconfig.in, and Linus
changes the default value for that variable in arch/$(ARCH)/defconfig,
qconfig will incorporate that change. oldconfig won't.

Michael Elizabeth Chastain
<mailto:mec@shout.net>
"love without fear"

-
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/