patch-1.3.29 linux/drivers/scsi/Makefile

Next file: linux/drivers/scsi/eata_dma.c
Previous file: linux/drivers/scsi/53c7,8xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.28/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
@@ -38,7 +38,6 @@
       # Create this before we build anything else.
       SCSI_MODULE_VER := scsi_syms.ver
       SYMTAB_OBJS := scsi_syms.o
-      include ../../versions.mk
       endif
     M_OBJS += scsi_mod.o
   endif
@@ -234,6 +233,12 @@
 endif
 
 include $(TOPDIR)/Rules.make
+
+ifeq ($(CONFIG_SCSI),m)
+  ifdef CONFIG_MODVERSIONS
+      include ../../versions.mk
+  endif
+endif
 
 aha152x.o: aha152x.c
 	$(CC) $(CFLAGS) $(AHA152X) -c aha152x.c 

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