1# 2# Makefile for the USB Mass Storage device drivers. 3# 4# 15 Aug 2000, Christoph Hellwig <hch@infradead.org> 5# Rewritten to use lists instead of if-statements. 6# 7 8EXTRA_CFLAGS := -Idrivers/scsi 9 10obj-$(CONFIG_USB_STORAGE) += usb-storage.o 11 12usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o 13usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o 14 15usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ 16 initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y) 17 18ifeq ($(CONFIG_USB_LIBUSUAL),) 19 usb-storage-objs += usual-tables.o 20else 21 obj-$(CONFIG_USB) += libusual.o usual-tables.o 22endif 23 24obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o 25obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o 26obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o 27obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o 28obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o 29obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o 30obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o 31obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o 32obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o 33obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o 34 35ums-alauda-objs := alauda.o 36ums-cypress-objs := cypress_atacb.o 37ums-datafab-objs := datafab.o 38ums-freecom-objs := freecom.o 39ums-isd200-objs := isd200.o 40ums-jumpshot-objs := jumpshot.o 41ums-karma-objs := karma.o 42ums-sddr09-objs := sddr09.o 43ums-sddr55-objs := sddr55.o 44ums-usbat-objs := shuttle_usbat.o 45