patch-pre2.0.1 linux/drivers/cdrom/Makefile

Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.100/linux/drivers/cdrom/Makefile linux/drivers/cdrom/Makefile
@@ -20,6 +20,16 @@
 M_OBJS   :=
 MOD_LIST_NAME := CDROM_MODULES
 
+# The following if's should be generalized (ORed) for all drivers that 
+# use the generic interface of cdrom.c 
+ifeq ($(CONFIG_CM206),y)
+L_OBJS += cdrom.o
+else
+  ifeq ($(CONFIG_CM206),m)
+  M_OBJS += cdrom.o
+  endif
+endif 
+
 ifeq ($(CONFIG_AZTCD),y)
 L_OBJS += aztcd.o
 else

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