patch-pre2.0.14-final2.0 linux/Rules.make

Next file: linux/arch/alpha/defconfig
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.14/linux/Rules.make linux/Rules.make
@@ -146,9 +146,10 @@
 
 MODINCL = $(TOPDIR)/include/linux/modules
 
+# The -w option (enable warnings) for /bin/genksyms will return here in 2.1
 $(MODINCL)/%.ver: %.c
-	@if [ ! -x /sbin/genksyms ]; then echo "Please read: README.modules"; fi
-	$(CC) $(CFLAGS) -E -D__GENKSYMS__ $< | /sbin/genksyms -w $(MODINCL)
+	@if [ ! -x /sbin/genksyms ]; then echo "Please read: Documentation/modules.txt"; fi
+	$(CC) $(CFLAGS) -E -D__GENKSYMS__ $< | /sbin/genksyms $(MODINCL)
 
 $(addprefix $(MODINCL)/,$(SYMTAB_OBJS:.o=.ver)): $(TOPDIR)/include/linux/autoconf.h
 

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