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 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 8 | ccflags-y := -Idrivers/scsi |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Matthew Wilcox | 115bb1f | 2010-10-07 13:05:23 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_USB_UAS) += uas.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_USB_STORAGE) += usb-storage.o |
| 12 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 13 | usb-storage-y := scsiglue.o protocol.o transport.o usb.o |
| 14 | usb-storage-y += initializers.o sierra_ms.o option_ms.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 16 | usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o |
Pete Zaitcev | a00828e | 2005-10-22 20:15:09 -0700 | [diff] [blame] | 17 | |
Alan Stern | e6e244b | 2009-02-12 14:47:44 -0500 | [diff] [blame] | 18 | ifeq ($(CONFIG_USB_LIBUSUAL),) |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 19 | usb-storage-y += usual-tables.o |
Alan Stern | e6e244b | 2009-02-12 14:47:44 -0500 | [diff] [blame] | 20 | else |
Alan Stern | dfc15e8 | 2009-04-09 14:59:44 -0400 | [diff] [blame] | 21 | obj-$(CONFIG_USB) += usb-libusual.o |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 22 | usb-libusual-y := libusual.o usual-tables.o |
Pete Zaitcev | a00828e | 2005-10-22 20:15:09 -0700 | [diff] [blame] | 23 | endif |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 24 | |
Alan Stern | a74bba3 | 2009-02-12 14:48:22 -0500 | [diff] [blame] | 25 | obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o |
Alan Stern | fcdb514 | 2009-02-12 14:48:04 -0500 | [diff] [blame] | 26 | obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o |
Alan Stern | 2cbbf35 | 2009-02-12 14:48:15 -0500 | [diff] [blame] | 27 | obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o |
Alan Stern | 0d62939 | 2009-02-12 14:48:11 -0500 | [diff] [blame] | 28 | obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o |
Alan Stern | 32d5493 | 2009-02-12 14:47:54 -0500 | [diff] [blame] | 29 | obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o |
Alan Stern | a9fb6d0 | 2009-02-12 14:48:19 -0500 | [diff] [blame] | 30 | obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o |
Alan Stern | c103378 | 2009-02-12 14:48:26 -0500 | [diff] [blame] | 31 | obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o |
Alan Stern | 9cfb95e | 2009-02-12 14:48:33 -0500 | [diff] [blame] | 32 | obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 33 | obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o |
Alan Stern | 70fcc00 | 2009-02-12 14:47:59 -0500 | [diff] [blame] | 34 | obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o |
Alan Stern | 26d6818 | 2009-02-12 14:48:08 -0500 | [diff] [blame] | 35 | obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 36 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame^] | 37 | ums-alauda-y := alauda.o |
| 38 | ums-cypress-y := cypress_atacb.o |
| 39 | ums-datafab-y := datafab.o |
| 40 | ums-freecom-y := freecom.o |
| 41 | ums-isd200-y := isd200.o |
| 42 | ums-jumpshot-y := jumpshot.o |
| 43 | ums-karma-y := karma.o |
| 44 | ums-onetouch-y := onetouch.o |
| 45 | ums-sddr09-y := sddr09.o |
| 46 | ums-sddr55-y := sddr55.o |
| 47 | ums-usbat-y := shuttle_usbat.o |