patch-1.3.79 linux/scripts/header.tk

Next file: linux/scripts/lxdialog/menubox.c
Previous file: linux/scripts/README.Menuconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.78/linux/scripts/header.tk linux/scripts/header.tk
@@ -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" } \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this