Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 8 | EXTRA_CFLAGS := -Idrivers/scsi |
| 9 | |
| 10 | obj-$(CONFIG_USB_STORAGE) += usb-storage.o |
| 11 | |
| 12 | usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o |
| 13 | usb-storage-obj-$(CONFIG_USB_STORAGE_USBAT) += shuttle_usbat.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o |
| 15 | usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o |
| 17 | usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o |
Matthew Dharm | e80b0fa | 2005-12-04 22:02:44 -0800 | [diff] [blame] | 18 | usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o |
Matthew Dharm | 34008db | 2005-07-28 14:49:01 -0700 | [diff] [blame] | 19 | usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o |
Matthew Dharm | dfe0d3b | 2006-08-13 17:30:14 -0700 | [diff] [blame] | 20 | usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o |
matthieu castet | d277064 | 2008-03-19 19:40:52 +0100 | [diff] [blame] | 21 | usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
| 23 | usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ |
Dan Williams | 281b064 | 2008-12-14 12:39:22 -0500 | [diff] [blame] | 24 | initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y) |
Pete Zaitcev | a00828e | 2005-10-22 20:15:09 -0700 | [diff] [blame] | 25 | |
Alan Stern | e6e244b | 2009-02-12 14:47:44 -0500 | [diff] [blame] | 26 | ifeq ($(CONFIG_USB_LIBUSUAL),) |
| 27 | usb-storage-objs += usual-tables.o |
| 28 | else |
| 29 | obj-$(CONFIG_USB) += libusual.o usual-tables.o |
Pete Zaitcev | a00828e | 2005-10-22 20:15:09 -0700 | [diff] [blame] | 30 | endif |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 31 | |
Alan Stern | 32d5493 | 2009-02-12 14:47:54 -0500 | [diff] [blame^] | 32 | obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 33 | obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o |
| 34 | |
Alan Stern | 32d5493 | 2009-02-12 14:47:54 -0500 | [diff] [blame^] | 35 | ums-isd200-objs := isd200.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 36 | ums-sddr09-objs := sddr09.o |