blob: 82e6416a2d47a4686126d79d9add9b146e170e66 [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
huajun li41e568d2011-03-04 10:56:18 +080028obj-$(CONFIG_USB_STORAGE_ENE_UB6250) += ums-eneub6250.o
Alan Stern0d629392009-02-12 14:48:11 -050029obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o
Alan Stern32d54932009-02-12 14:47:54 -050030obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
Alan Sterna9fb6d02009-02-12 14:48:19 -050031obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o
Alan Sternc1033782009-02-12 14:48:26 -050032obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o
Alan Stern9cfb95e2009-02-12 14:48:33 -050033obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o
wwang50a6cb92011-01-14 16:53:34 +080034obj-$(CONFIG_USB_STORAGE_REALTEK) += ums-realtek.o
Alan Stern0ff71882009-02-12 14:47:49 -050035obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
Alan Stern70fcc002009-02-12 14:47:59 -050036obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o
Alan Stern26d68182009-02-12 14:48:08 -050037obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o
Alan Stern0ff71882009-02-12 14:47:49 -050038
matt mooney0a2b8a02010-10-06 19:03:26 -070039ums-alauda-y := alauda.o
40ums-cypress-y := cypress_atacb.o
41ums-datafab-y := datafab.o
huajun li41e568d2011-03-04 10:56:18 +080042ums-eneub6250-y := ene_ub6250.o
matt mooney0a2b8a02010-10-06 19:03:26 -070043ums-freecom-y := freecom.o
44ums-isd200-y := isd200.o
45ums-jumpshot-y := jumpshot.o
46ums-karma-y := karma.o
47ums-onetouch-y := onetouch.o
wwang50a6cb92011-01-14 16:53:34 +080048ums-realtek-y := realtek_cr.o
matt mooney0a2b8a02010-10-06 19:03:26 -070049ums-sddr09-y := sddr09.o
50ums-sddr55-y := sddr55.o
51ums-usbat-y := shuttle_usbat.o