patch-2.1.63 linux/drivers/block/Makefile
Next file: linux/drivers/block/linear.c
Previous file: linux/drivers/block/Config.in
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Sat Nov 8 11:39:12 1997
- Orig file:
v2.1.62/linux/drivers/block/Makefile
- Orig date:
Mon Aug 18 18:19:45 1997
diff -u --recursive --new-file v2.1.62/linux/drivers/block/Makefile linux/drivers/block/Makefile
@@ -200,25 +200,21 @@
endif
endif
-#ifeq ($(CONFIG_MD_RAID1),y)
-#L_OBJS += raid1.o
-#else
-# ifeq ($(CONFIG_MD_SUPPORT_RAID1),y)
-# ifeq ($(CONFIG_MD_RAID1),m)
-# M_OBJS += raid1.o
-# endif
-# endif
-#endif
-#
-#ifeq ($(CONFIG_MD_RAID5),y)
-#L_OBJS += raid5.o
-#else
-# ifeq ($(CONFIG_MD_SUPPORT_RAID5),y)
-# ifeq ($(CONFIG_MD_RAID5),m)
-# M_OBJS += raid5.o
-# endif
-# endif
-#endif
+ifeq ($(CONFIG_MD_MIRRORING),y)
+L_OBJS += raid1.o
+else
+ ifeq ($(CONFIG_MD_MIRRORING),m)
+ M_OBJS += raid1.o
+ endif
+endif
+
+ifeq ($(CONFIG_MD_RAID5),y)
+L_OBJS += raid5.o
+else
+ ifeq ($(CONFIG_MD_RAID5),m)
+ M_OBJS += raid5.o
+ endif
+endif
endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov