xref: /linux/drivers/usb/storage/Makefile (revision 0a2b8a0d1101179fdebc974a7c72b514aede9d9d)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the USB Mass Storage device drivers.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds# 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
51da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements.
61da177e4SLinus Torvalds#
71da177e4SLinus Torvalds
825013315Smatt mooneyccflags-y := -Idrivers/scsi
91da177e4SLinus Torvalds
10115bb1ffSMatthew Wilcoxobj-$(CONFIG_USB_UAS)		+= uas.o
111da177e4SLinus Torvaldsobj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
121da177e4SLinus Torvalds
13*0a2b8a0dSmatt mooneyusb-storage-y := scsiglue.o protocol.o transport.o usb.o
14*0a2b8a0dSmatt mooneyusb-storage-y += initializers.o sierra_ms.o option_ms.o
151da177e4SLinus Torvalds
16*0a2b8a0dSmatt mooneyusb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
17a00828e9SPete Zaitcev
18e6e244b6SAlan Sternifeq ($(CONFIG_USB_LIBUSUAL),)
19*0a2b8a0dSmatt mooney	usb-storage-y		+= usual-tables.o
20e6e244b6SAlan Sternelse
21dfc15e89SAlan Stern	obj-$(CONFIG_USB)	+= usb-libusual.o
22*0a2b8a0dSmatt mooney	usb-libusual-y		:= libusual.o usual-tables.o
23a00828e9SPete Zaitcevendif
240ff71883SAlan Stern
25a74bba3bSAlan Sternobj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o
26fcdb5140SAlan Sternobj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
272cbbf357SAlan Sternobj-$(CONFIG_USB_STORAGE_DATAFAB)	+= ums-datafab.o
280d62939fSAlan Sternobj-$(CONFIG_USB_STORAGE_FREECOM)	+= ums-freecom.o
2932d5493eSAlan Sternobj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
30a9fb6d05SAlan Sternobj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= ums-jumpshot.o
31c1033784SAlan Sternobj-$(CONFIG_USB_STORAGE_KARMA)		+= ums-karma.o
329cfb95efSAlan Sternobj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= ums-onetouch.o
330ff71883SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
3470fcc005SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
3526d6818fSAlan Sternobj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
360ff71883SAlan Stern
37*0a2b8a0dSmatt mooneyums-alauda-y		:= alauda.o
38*0a2b8a0dSmatt mooneyums-cypress-y		:= cypress_atacb.o
39*0a2b8a0dSmatt mooneyums-datafab-y		:= datafab.o
40*0a2b8a0dSmatt mooneyums-freecom-y		:= freecom.o
41*0a2b8a0dSmatt mooneyums-isd200-y		:= isd200.o
42*0a2b8a0dSmatt mooneyums-jumpshot-y		:= jumpshot.o
43*0a2b8a0dSmatt mooneyums-karma-y		:= karma.o
44*0a2b8a0dSmatt mooneyums-onetouch-y		:= onetouch.o
45*0a2b8a0dSmatt mooneyums-sddr09-y		:= sddr09.o
46*0a2b8a0dSmatt mooneyums-sddr55-y		:= sddr55.o
47*0a2b8a0dSmatt mooneyums-usbat-y		:= shuttle_usbat.o
48