patch-2.4.0-test7 linux/drivers/usb/storage/Makefile

Next file: linux/drivers/usb/storage/dpcm.c
Previous file: linux/drivers/usb/serial/visor.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/drivers/usb/storage/Makefile linux/drivers/usb/storage/Makefile
@@ -5,6 +5,7 @@
 O_TARGET	:= usb-storage.o
 M_OBJS		:= usb-storage.o
 O_OBJS		:= scsiglue.o protocol.o transport.o usb.o 
+MOD_LIST_NAME	:= USB_STORAGE_MODULES
 
 CFLAGS_scsiglue.o:= -I../../scsi/
 CFLAGS_protocol.o:= -I../../scsi/
@@ -13,6 +14,7 @@
 CFLAGS_usb.o:= -I../../scsi/
 CFLAGS_shuttle_usbat.o:= -I../../scsi/
 CFLAGS_sddr09.o:= -I../../scsi/
+CFLAGS_dpcm.o:= -I../../scsi/
 
 ifeq ($(CONFIG_USB_STORAGE_DEBUG),y)
 	O_OBJS += debug.o
@@ -36,6 +38,10 @@
 
 ifeq ($(CONFIG_USB_STORAGE_SHUTTLE_COMPACTFLASH),y)
 	O_OBJS += shuttle_cf.o
+endif
+
+ifeq ($(CONFIG_USB_STORAGE_DPCM),y)
+	O_OBJS += dpcm.o
 endif
  
 include $(TOPDIR)/Rules.make

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