patch-1.3.7 linux/drivers/block/Makefile

Next file: linux/drivers/block/README.cdu31a
Previous file: linux/arch/i386/lib/checksum.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.6/linux/drivers/block/Makefile linux/drivers/block/Makefile
@@ -35,19 +35,21 @@
 ifdef CONFIG_CDU31A
 OBJS := $(OBJS) cdu31a.o
 SRCS := $(SRCS) cdu31a.c
-endif
+endif #CONFIG_CDU31A
 
 ifdef CONFIG_MCD
 OBJS := $(OBJS) mcd.o
 SRCS := $(SRCS) mcd.c
-endif
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) mcd.o
+endif #CONFIG_MCD
 
-ifdef CONFIG_AZTCD
-OBJS := $(OBJS) aztcd.o
-SRCS := $(SRCS) aztcd.c
+ifdef CONFIG_MCDX
+OBJS := $(OBJS) mcdx.o
+SRCS := $(SRCS) mcdx.c
 else
-BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) aztcd.o
-endif
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) mcdx.o
+endif #CONFIG_MCDX
 
 ifdef CONFIG_SBPCD
 OBJS := $(OBJS) sbpcd.o
@@ -71,6 +73,48 @@
 SRCS := $(SRCS) sbpcd4.c
 endif #CONFIG_SBPCD4
 
+ifdef CONFIG_AZTCD
+OBJS := $(OBJS) aztcd.o
+SRCS := $(SRCS) aztcd.c
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) aztcd.o
+endif #CONFIG_AZTCD
+
+ifdef CONFIG_CDU535
+OBJS := $(OBJS) sonycd535.o
+SRCS := $(SRCS) sonycd535.c
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) sonycd535.o
+endif #CONFIG_CDU535
+
+ifdef CONFIG_GSCD
+OBJS := $(OBJS) gscd.o
+SRCS := $(SRCS) gscd.c
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) gscd.o
+endif #CONFIG_GSCD
+
+ifdef CONFIG_CM206
+OBJS := $(OBJS) cm206.o
+SRCS := $(SRCS) cm206.c
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) cm206.o
+endif #CONFIG_CM206
+
+ifdef CONFIG_OPTCD
+OBJS := $(OBJS) optcd.o
+SRCS := $(SRCS) optcd.c
+else
+BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) optcd.o
+endif #CONFIG_OPTCD
+
+ifdef CONFIG_SJCD
+OBJS := $(OBJS) sjcd.o
+SRCS := $(SRCS) sjcd.c
+#else
+#BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) sjcd.o
+endif #CONFIG_SJCD
+
 ifdef CONFIG_BLK_DEV_HD
 OBJS := $(OBJS) hd.o
 SRCS := $(SRCS) hd.c
@@ -84,13 +128,6 @@
 ifdef CONFIG_BLK_DEV_XD
 OBJS := $(OBJS) xd.o
 SRCS := $(SRCS) xd.c
-endif
-
-ifdef CONFIG_CDU535
-OBJS := $(OBJS) sonycd535.o
-SRCS := $(SRCS) sonycd535.c
-else
-BLOCK_MODULE_OBJS := $(BLOCK_MODULE_OBJS) sonycd535.o
 endif
 
 all: block.a

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