From dcec8a13bf565e47942a1751a9cec21bec5648fe Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 7 May 1998 02:55:41 +0000 Subject: o Merge with Linux 2.1.99. o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz. --- Rules.make | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Rules.make') diff --git a/Rules.make b/Rules.make index 63181e223..bcd55b476 100644 --- a/Rules.make +++ b/Rules.make @@ -176,9 +176,21 @@ ifneq "$(strip $(SYMTAB_OBJS))" "" 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 -- cgit v1.2.3