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

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

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/usb/storage/Makefile linux/drivers/usb/storage/Makefile
@@ -0,0 +1,32 @@
+#
+# Makefile for the USB Mass Storage device drivers.
+#
+
+O_TARGET	:= usb-storage.o
+M_OBJS		:= usb-storage.o
+O_OBJS		:= scsiglue.o protocol.o transport.o debug.o usb.o
+MOD_LIST_NAME	:= USB_STORAGE_MODULES
+
+CFLAGS_scsiglue.o:= -I../../scsi/
+CFLAGS_protocol.o:= -I../../scsi/
+CFLAGS_transport.o:= -I../../scsi/
+CFLAGS_debug.o:= -I../../scsi/
+CFLAGS_usb.o:= -I../../scsi/
+
+ifeq ($(CONFIG_USB_STORAGE_DEBUG),y)
+	O_OBJS += debug.o
+endif
+
+ifeq ($(CONFIG_USB_STORAGE_FREECOM),y)
+	O_OBJS += freecom.o
+endif
+
+ifeq ($(CONFIG_USB_STORAGE_SHUTTLE_SMARTMEDIA),y)
+	O_OBJS += shuttle_sm.o
+endif
+
+ifeq ($(CONFIG_USB_STORAGE_SHUTTLE_COMPACTFLASH),y)
+	O_OBJS += shuttle_cf.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)