blob: b47f94e59fdc258d5735c02b656ab887edcdec49 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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_USBAT) += shuttle_usbat.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o
15usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o
17usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o
Matthew Dharme80b0fa2005-12-04 22:02:44 -080018usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o
Matthew Dharm34008db2005-07-28 14:49:01 -070019usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o
Matthew Dharmdfe0d3b2006-08-13 17:30:14 -070020usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o
matthieu castetd2770642008-03-19 19:40:52 +010021usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \
Dan Williams281b0642008-12-14 12:39:22 -050024 initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
Pete Zaitceva00828e2005-10-22 20:15:09 -070025
Alan Sterne6e244b2009-02-12 14:47:44 -050026ifeq ($(CONFIG_USB_LIBUSUAL),)
27 usb-storage-objs += usual-tables.o
28else
29 obj-$(CONFIG_USB) += libusual.o usual-tables.o
Pete Zaitceva00828e2005-10-22 20:15:09 -070030endif
Alan Stern0ff71882009-02-12 14:47:49 -050031
Alan Stern32d54932009-02-12 14:47:54 -050032obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
Alan Stern0ff71882009-02-12 14:47:49 -050033obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
34
Alan Stern32d54932009-02-12 14:47:54 -050035ums-isd200-objs := isd200.o
Alan Stern0ff71882009-02-12 14:47:49 -050036ums-sddr09-objs := sddr09.o