lkml.org 
[lkml]   [1996]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPatches for broken 1.3.78 xconfig & Menuconfig
A change was made to some of the networking code which effects 
configuration.

An extra line is now written to include/linux/autoconf.h for each feature
configured as a module.

I did not know about this until I saw the patch for 1.3.78 and it may
break both Menuconfig and xconfig. The old Configure script already
incorporates this change.

Here is a patch that will hopefully fix the problem:
__
William E. Roadcap mailto://roadcapw@cfw.com
TITUS Software ftp://titus.cfw.com/pub
Waynesboro, Va (USA) http://www.cfw.com/~roadcapw
...........................................................................

--- linux/scripts/Menuconfig-1.3.78-broke Sun Mar 24 13:50:06 1996
+++ linux/scripts/Menuconfig Mon Mar 25 10:19:51 1996
@@ -878,8 +878,9 @@
m)
if [ "$CONFIG_MODULES" = "y" ]
then
- echo "$1=m" >>$CONFIG
- echo "#undef $1" >>$CONFIG_H
+ echo "$1=m" >>$CONFIG
+ echo "#undef $1" >>$CONFIG_H
+ echo "#define $1_MODULE 1" >>$CONFIG_H
else
echo "$1=y" >>$CONFIG
echo "#define $1 1" >>$CONFIG_H
--- linux/scripts/header.tk-1.3.78-broke Mon Mar 25 10:22:11 1996
+++ linux/scripts/header.tk Sat Mar 23 23:52:51 1996
@@ -204,7 +204,8 @@
puts $file2 "#undef $varname"} \
elseif { $variable == 2 || ($dep == 2 && $variable == 1) } \
then { puts $file1 "$varname=m"; \
- puts $file2 "#undef $varname" } \
+ puts $file2 "#undef $varname"; \
+ puts $file2 "#define $varname_MODULE 1" } \
elseif { $variable == 1 && $dep != 2 } \
then { puts $file1 "$varname=y"; \
puts $file2 "#define $varname 1" } \


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.022 / U:1.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site