patch-1.3.80 linux/scripts/header.tk

Next file: linux/Makefile
Previous file: linux/scripts/Menuconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.79/linux/scripts/header.tk linux/scripts/header.tk
@@ -205,7 +205,7 @@
 	elseif { $variable == 2 || ($dep == 2 && $variable == 1) } \
 		then { puts $file1 "$varname=m"; \
 		       puts $file2 "#undef $varname"; \
-		       puts $file2 "#define $varname_MODULE 1" } \
+		       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