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 |
huajun li | 41e568d | 2011-03-04 10:56:18 +0800 | [diff] [blame] | 28 | obj-$(CONFIG_USB_STORAGE_ENE_UB6250) += ums-eneub6250.o |
Alan Stern | 0d62939 | 2009-02-12 14:48:11 -0500 | [diff] [blame] | 29 | obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o |
Alan Stern | 32d5493 | 2009-02-12 14:47:54 -0500 | [diff] [blame] | 30 | obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o |
Alan Stern | a9fb6d0 | 2009-02-12 14:48:19 -0500 | [diff] [blame] | 31 | obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o |
Alan Stern | c103378 | 2009-02-12 14:48:26 -0500 | [diff] [blame] | 32 | obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o |
Alan Stern | 9cfb95e | 2009-02-12 14:48:33 -0500 | [diff] [blame] | 33 | obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o |
wwang | 50a6cb9 | 2011-01-14 16:53:34 +0800 | [diff] [blame] | 34 | obj-$(CONFIG_USB_STORAGE_REALTEK) += ums-realtek.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 35 | obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o |
Alan Stern | 70fcc00 | 2009-02-12 14:47:59 -0500 | [diff] [blame] | 36 | obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o |
Alan Stern | 26d6818 | 2009-02-12 14:48:08 -0500 | [diff] [blame] | 37 | obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o |
Alan Stern | 0ff7188 | 2009-02-12 14:47:49 -0500 | [diff] [blame] | 38 | |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 39 | ums-alauda-y := alauda.o |
| 40 | ums-cypress-y := cypress_atacb.o |
| 41 | ums-datafab-y := datafab.o |
huajun li | 41e568d | 2011-03-04 10:56:18 +0800 | [diff] [blame] | 42 | ums-eneub6250-y := ene_ub6250.o |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 43 | ums-freecom-y := freecom.o |
| 44 | ums-isd200-y := isd200.o |
| 45 | ums-jumpshot-y := jumpshot.o |
| 46 | ums-karma-y := karma.o |
| 47 | ums-onetouch-y := onetouch.o |
wwang | 50a6cb9 | 2011-01-14 16:53:34 +0800 | [diff] [blame] | 48 | ums-realtek-y := realtek_cr.o |
matt mooney | 0a2b8a0 | 2010-10-06 19:03:26 -0700 | [diff] [blame] | 49 | ums-sddr09-y := sddr09.o |
| 50 | ums-sddr55-y := sddr55.o |
| 51 | ums-usbat-y := shuttle_usbat.o |