xref: /openbmc/linux/drivers/usb/storage/Makefile (revision 115bb1ff)
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
81da177e4SLinus TorvaldsEXTRA_CFLAGS	:= -Idrivers/scsi
91da177e4SLinus Torvalds
10115bb1ffSMatthew Wilcoxobj-$(CONFIG_USB_UAS)		+= uas.o
111da177e4SLinus Torvaldsobj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG)	+= debug.o
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsusb-storage-objs :=	scsiglue.o protocol.o transport.o usb.o \
16281b064fSDan Williams			initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
17a00828e9SPete Zaitcev
18e6e244b6SAlan Sternifeq ($(CONFIG_USB_LIBUSUAL),)
19e6e244b6SAlan Stern	usb-storage-objs	+= usual-tables.o
20e6e244b6SAlan Sternelse
21dfc15e89SAlan Stern	obj-$(CONFIG_USB)	+= usb-libusual.o
22dfc15e89SAlan Stern	usb-libusual-objs	:= 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
37a74bba3bSAlan Sternums-alauda-objs		:= alauda.o
38fcdb5140SAlan Sternums-cypress-objs	:= cypress_atacb.o
392cbbf357SAlan Sternums-datafab-objs	:= datafab.o
400d62939fSAlan Sternums-freecom-objs	:= freecom.o
4132d5493eSAlan Sternums-isd200-objs		:= isd200.o
42a9fb6d05SAlan Sternums-jumpshot-objs	:= jumpshot.o
43c1033784SAlan Sternums-karma-objs		:= karma.o
449cfb95efSAlan Sternums-onetouch-objs	:= onetouch.o
450ff71883SAlan Sternums-sddr09-objs		:= sddr09.o
4670fcc005SAlan Sternums-sddr55-objs		:= sddr55.o
4726d6818fSAlan Sternums-usbat-objs		:= shuttle_usbat.o
48