patch-2.1.77 linux/drivers/block/Makefile

Next file: linux/drivers/block/ez.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.76/linux/drivers/block/Makefile linux/drivers/block/Makefile
@@ -14,6 +14,10 @@
 # In the future, some of these should be built conditionally.
 #
 
+SUB_DIRS     := 
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS) paride
+
 
 L_TARGET := block.a
 L_OBJS   := ll_rw_blk.o genhd.o
@@ -191,14 +195,6 @@
   endif
 endif
 
-ifeq ($(CONFIG_BLK_DEV_EZ),y)
-L_OBJS += ez.o
-else
-  ifeq ($(CONFIG_BLK_DEV_EZ),m)
-  M_OBJS += ez.o
-  endif
-endif
-
 ifeq ($(CONFIG_BLK_DEV_MD),y)
 LX_OBJS += md.o
 
@@ -241,6 +237,15 @@
 else
   ifeq ($(CONFIG_BLK_DEV_NBD),m)
   M_OBJS += nbd.o
+  endif
+endif
+
+ifeq ($(CONFIG_PARIDE),y)
+SUB_DIRS	+= paride
+MOD_SUB_DIRS	+= paride
+else
+  ifeq ($(CONFIG_PARIDE),m)
+  MOD_SUB_DIRS	+= paride
   endif
 endif
 

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