cunfiguring Linux 2.2

Ulrich Windl (ulrich.windl@rz.uni-regensburg.de)
Mon, 1 Feb 1999 12:11:52 +0100


--Message-Boundary-27632
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

Hello,

refreshing my mind about the configuration process I noticed the
following:

1) There is no architecture-independent "defconfig"

2) arch/*/defconfig vary a lot in contents and ordering

3) Config.in could need some reordering (if someone really wants to
do it, I'll gladly provide sugestions (for i386))

4) Configure is a little bit inconsitent; I'll attach a short patch
that should find wide agreement.

5) For some Config items in i386 and 2.2.1 there is still no
documentation (sorry, can't remember what these were)

Regards,
Ulrich

--Message-Boundary-27632
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'config~1.dif'

This patch for Linux 2.2.1 adds some consistency for answering prompts and
a cosmetic fix for "choice" inputs (is that output needed nayway? It confuses
the user...)

1999-01-31, U. Windl

Index: scripts/Configure
===================================================================
RCS file: /root/21REP/linux21/scripts/Configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Configure
--- Configure 1998/11/26 01:21:48 1.1.1.1
+++ Configure 1999/01/31 22:47:58
@@ -225,7 +225,8 @@
break ;;
[nN] | [nN]o ) define_bool "$2" "n"
break ;;
- [mM] ) define_bool "$2" "m"
+ [mM] | [mM]odule )
+ define_bool "$2" "m"
break ;;
* ) help "$2"
;;
@@ -278,7 +279,8 @@
case "$ans" in
[nN] | [nN]o ) define_bool "$var" "n"
break ;;
- [mM] ) define_bool "$var" "m"
+ [mM] | [mM]odule )
+ define_bool "$var" "m"
break ;;
[yY] | [yY]es ) echo
echo " This answer is not allowed, because it is not consistent with"
@@ -463,7 +465,7 @@
set -- $choices
while [ -n "$2" ]; do
if [ "$2" = "$val" ]; then
- echo " defined $val"
+ echo " defined $2"
define_bool "$2" "y"
else
define_bool "$2" "n"
@@ -509,7 +511,7 @@
echo "# Using defaults found in" $DEFAULTS
echo "#"
. $DEFAULTS
- sed -e 's/# \(.*\) is not.*/\1=n/' < $DEFAULTS > .config-is-not.$$
+ sed -e 's/# \(..*\) is not.*/\1=n/' < $DEFAULTS > .config-is-not.$$
. .config-is-not.$$
rm .config-is-not.$$
else

--Message-Boundary-27632--

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