patch-2.3.26 linux/drivers/char/Makefile

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

diff -u --recursive --new-file v2.3.25/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -322,6 +322,10 @@
 
 ifeq ($(CONFIG_RTC),y)
 O_OBJS += rtc.o
+else
+  ifeq ($(CONFIG_RTC),m)
+    M_OBJS += rtc.o
+  endif
 endif
 
 ifeq ($(CONFIG_NVRAM),y)
@@ -362,16 +366,6 @@
   endif
 endif
 
-ifeq ($(CONFIG_VIDEO_SAA5249),y)
-O_OBJS += saa5249.o
-L_I2C=y
-else
-  ifeq ($(CONFIG_VIDEO_SAA5249),m)
-    M_OBJS += saa5249.o
-    M_I2C=y
-  endif
-endif
-
 ifeq ($(CONFIG_I2C_PARPORT),y)
 O_OBJS += i2c-parport.o
 L_I2C = y
@@ -382,11 +376,13 @@
   endif
 endif
 
-ifeq ($(CONFIG_VIDEO_BWQCAM),y)
-O_OBJS += bw-qcam.o
+ifeq ($(CONFIG_VIDEO_SAA5249),y)
+O_OBJS += saa5249.o
+L_I2C=y
 else
-  ifeq ($(CONFIG_VIDEO_BWQCAM),m)
-    M_OBJS += bw-qcam.o
+  ifeq ($(CONFIG_VIDEO_SAA5249),m)
+    M_OBJS += saa5249.o
+    M_I2C=y
   endif
 endif
 
@@ -395,6 +391,14 @@
 else
   ifeq ($(CONFIG_VIDEO_CQCAM),m)
     M_OBJS += c-qcam.o
+  endif
+endif
+
+ifeq ($(CONFIG_VIDEO_BWQCAM),y)
+O_OBJS += bw-qcam.o
+else
+  ifeq ($(CONFIG_VIDEO_BWQCAM),m)
+    M_OBJS += bw-qcam.o
   endif
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)