patch-2.1.73 linux/drivers/block/Makefile

Next file: linux/drivers/block/ali14xx.c
Previous file: linux/drivers/block/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/drivers/block/Makefile linux/drivers/block/Makefile
@@ -79,11 +79,17 @@
 endif
 
 ifeq ($(CONFIG_BLK_DEV_IDE),y)
-LX_OBJS += ide.o
-L_OBJS += ide-probe.o
+  LX_OBJS += ide.o
+  ifeq ($(CONFIG_PROC_FS),y)
+    L_OBJS += ide-proc.o
+  endif
+  L_OBJS += ide-probe.o
 else
   ifeq ($(CONFIG_BLK_DEV_IDE),m)
   MX_OBJS += ide.o
+  ifeq ($(CONFIG_PROC_FS),y)
+    M_OBJS += ide-proc.o
+  endif
   M_OBJS += ide-probe.o
   endif
 endif
@@ -96,6 +102,10 @@
 L_OBJS += cmd640.o
 endif
 
+ifeq ($(CONFIG_BLK_DEV_IDEPCI),y)
+L_OBJS += ide-pci.o
+endif
+
 ifeq ($(CONFIG_BLK_DEV_IDEDMA),y)
 L_OBJS += ide-dma.o
 endif
@@ -135,6 +145,10 @@
 
 ifeq ($(CONFIG_BLK_DEV_OPTI621),y)
 L_OBJS += opti621.o
+endif
+
+ifeq ($(CONFIG_BLK_DEV_NS87415),y)
+L_OBJS += ns87415.o
 endif
 
 ifeq ($(CONFIG_BLK_DEV_IDEDISK),y)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov