lkml.org 
[lkml]   [1999]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectcunfiguring Linux 2.2
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


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
\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.018 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site