Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.94 /Rules.make

Filename:/Rules.make
Lines Added:13
Lines Deleted:1
Also changed in: (Previous) 2.1.80  2.1.78  2.1.34  2.1.33  2.1.31  2.1.30 
(Following) 2.1.104  2.1.105  2.1.106  2.1.107  2.1.116  2.1.132 

Location
[  2.1.94
   o  Rules.make

Patch

diff -u --recursive --new-file v2.1.93/linux/Rules.make linux/Rules.make
--- v2.1.93/linux/Rules.make   Tue Jan 13 11:47:55 1998
+++ linux/Rules.make   Wed Apr  8 15:36:26 1998
@@ -176,9 +176,21 @@
 MODINCL = $(TOPDIR)/include/linux/modules
 
 # The -w option (enable warnings) for genksyms will return here in 2.1
+# So where has it gone ???
+#
+# Added the SMP seperator to stop module accidents between uniproc/smp
+# intel boxes - AC - from bits by Michael Chastain
+#
+
+ifdef SMP
+   genksyms_smp_prefix := -p smp_
+else
+   genksyms_smp_prefix := 
+endif
+
 $(MODINCL)/%.ver: %.c
    $(CC) $(CFLAGS) -E -D__GENKSYMS__ $<\
-   | $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp
+   | $(GENKSYMS) $(genksyms_smp_prefix) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > $@.tmp
    mv $@.tmp $@
    
 $(addprefix $(MODINCL)/,$(SYMTAB_OBJS:.o=.ver)): $(TOPDIR)/include/linux/autoconf.h


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.