patch-1.3.28 linux/drivers/scsi/Makefile
Next file: linux/drivers/scsi/aha152x.c
Previous file: linux/drivers/scsi/ChangeLog
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon Sep 18 07:54:06 1995
- Orig file:
v1.3.27/linux/drivers/scsi/Makefile
- Orig date:
Thu Sep 7 17:17:17 1995
diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/Makefile linux/drivers/scsi/Makefile
@@ -26,21 +26,22 @@
include ../../.config
-SYMTAB_OBJS = scsi_syms.o
-
TOPDIR = ../..
-include ../../versions.mk
endif
-ifdef CONFIG_SCSI
+ifeq ($(CONFIG_SCSI),y)
L_OBJS += hosts.o scsi.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o
else
-ifdef CONFIG_MODVERSIONS
-# Create this before we build anything else.
-SCSI_MODULE_VER := scsi_syms.ver
-endif
-M_OBJS += scsi_mod.o
+ ifeq ($(CONFIG_SCSI),m)
+ ifdef CONFIG_MODVERSIONS
+ # 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
endif
ifeq ($(CONFIG_CHR_DEV_ST),y)
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