blob: fcf14cdc4a0425d759c70ff63a18eb724023c97c [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
matt mooney0a2b8a02010-10-06 19:03:26 -07008ccflags-y := -Idrivers/scsi
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Matthew Wilcox115bb1f2010-10-07 13:05:23 +020010obj-$(CONFIG_USB_UAS) += uas.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011obj-$(CONFIG_USB_STORAGE) += usb-storage.o
12
matt mooney0a2b8a02010-10-06 19:03:26 -070013usb-storage-y := scsiglue.o protocol.o transport.o usb.o
14usb-storage-y += initializers.o sierra_ms.o option_ms.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
matt mooney0a2b8a02010-10-06 19:03:26 -070016usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
Pete Zaitceva00828e2005-10-22 20:15:09 -070017
Alan Sterne6e244b2009-02-12 14:47:44 -050018ifeq ($(CONFIG_USB_LIBUSUAL),)
matt mooney0a2b8a02010-10-06 19:03:26 -070019 usb-storage-y += usual-tables.o
Alan Sterne6e244b2009-02-12 14:47:44 -050020else
Alan Sterndfc15e82009-04-09 14:59:44 -040021 obj-$(CONFIG_USB) += usb-libusual.o
matt mooney0a2b8a02010-10-06 19:03:26 -070022 usb-libusual-y := libusual.o usual-tables.o
Pete Zaitceva00828e2005-10-22 20:15:09 -070023endif
Alan Stern0ff71882009-02-12 14:47:49 -050024
Alan Sterna74bba32009-02-12 14:48:22 -050025obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o
Alan Sternfcdb5142009-02-12 14:48:04 -050026obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
Alan Stern2cbbf352009-02-12 14:48:15 -050027obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o
Alan Stern0d629392009-02-12 14:48:11 -050028obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o
Alan Stern32d54932009-02-12 14:47:54 -050029obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
Alan Sterna9fb6d02009-02-12 14:48:19 -050030obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o
Alan Sternc1033782009-02-12 14:48:26 -050031obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o
Alan Stern9cfb95e2009-02-12 14:48:33 -050032obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o
Alan Stern0ff71882009-02-12 14:47:49 -050033obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
Alan Stern70fcc002009-02-12 14:47:59 -050034obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o
Alan Stern26d68182009-02-12 14:48:08 -050035obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o
Alan Stern0ff71882009-02-12 14:47:49 -050036
matt mooney0a2b8a02010-10-06 19:03:26 -070037ums-alauda-y := alauda.o
38ums-cypress-y := cypress_atacb.o
39ums-datafab-y := datafab.o
40ums-freecom-y := freecom.o
41ums-isd200-y := isd200.o
42ums-jumpshot-y := jumpshot.o
43ums-karma-y := karma.o
44ums-onetouch-y := onetouch.o
45ums-sddr09-y := sddr09.o
46ums-sddr55-y := sddr55.o
47ums-usbat-y := shuttle_usbat.o