Messages in this thread Patch in this message | | | From | "Ulrich Windl" <> | Date | Mon, 1 Feb 1999 12:11:52 +0100 | Subject | cunfiguring 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 | |