patch-2.3.15 linux/drivers/usb/Makefile

Next file: linux/drivers/usb/acm.c
Previous file: linux/drivers/usb/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/usb/Makefile linux/drivers/usb/Makefile
@@ -18,11 +18,14 @@
 MOD_LIST_NAME := USB_MODULES
 
 ifeq ($(CONFIG_USB),y)
-  L_OBJS +=usbcore.o
+  L_OBJS += usbcore.o
+  ifeq ($(CONFIG_USB_PROC),y)
+    L_OBJS += proc_usb.o
+  endif
 endif
 ifeq ($(CONFIG_USB),m)
-  M_OBJS +=usbcore.o
-  MIX_OBJS +=usb.o usb-debug.o usb-core.o
+  M_OBJS += usbcore.o
+  MIX_OBJS += usb.o usb-debug.o usb-core.o
   ifeq ($(CONFIG_USB_PROC),y)
     MIX_OBJS += proc_usb.o
   endif
@@ -57,16 +60,16 @@
   L_OBJS += mouse.o
 endif
 ifeq ($(CONFIG_USB_MOUSE),m)
-  M_OBJS  +=mouse.o	
-  MIX_OBJS +=mouse.o
+  M_OBJS += mouse.o	
+  MIX_OBJS += mouse.o
 endif
 
 ifeq ($(CONFIG_USB_HUB),y)
   L_OBJS += hub.o
 endif
 ifeq ($(CONFIG_USB_HUB),m)
-  M_OBJS  +=hub.o
-  MIX_OBJS +=hub.o	
+  M_OBJS += hub.o
+  MIX_OBJS += hub.o	
 endif
 
 ifeq ($(CONFIG_USB_ACM),y)
@@ -74,7 +77,7 @@
 endif
 ifeq ($(CONFIG_USB_ACM),m)
   M_OBJS += acm.o
-  MIX_OBJS +=acm.o
+  MIX_OBJS += acm.o
 endif
 
 ifeq ($(CONFIG_USB_PRINTER),y)
@@ -86,15 +89,6 @@
   MIX_OBJS += printer.o  
 endif
 
-ifeq ($(CONFIG_USB_CPIA),y)
-  L_OBJS += cpia.o
-endif
-
-ifeq ($(CONFIG_USB_CPIA),m)
-  M_OBJS += cpia.o
-  MIX_OBJS += cpia.o  
-endif
-
 ifeq ($(CONFIG_USB_KBD),y)
   L_OBJS += keyboard.o keymap.o
 endif
@@ -187,10 +181,10 @@
 
 usb-ohci.o: ohci.o ohci-debug.o 
 	$(LD) $(LD_RFLAG) -r -o $@ ohci.o ohci-debug.o 
-       
+
 usb-ohci-hcd.o: ohci-hcd.o ohci-root-hub.o 
 	$(LD) $(LD_RFLAG) -r -o $@ ohci-hcd.o ohci-root-hub.o 
-       
+
 ifeq ($(CONFIG_USB_PROC),y)
 usbcore.o: usb.o usb-debug.o usb-core.o proc_usb.o
 	$(LD) $(LD_RFLAG) -r -o $@ usb.o usb-debug.o usb-core.o proc_usb.o

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