xref: /linux/drivers/usb/storage/Makefile (revision ceb8bf2ceaa77fe222fe8fe32cb7789c9099ddf1)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the USB Mass Storage device drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds# 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
61da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements.
71da177e4SLinus Torvalds#
81da177e4SLinus Torvalds
99cc342f6SMasahiro Yamadaccflags-y := -I $(srctree)/drivers/scsi
101da177e4SLinus Torvalds
11*ceb8bf2cSMasahiro Yamadaccflags-y += -DDEFAULT_SYMBOL_NAMESPACE='"USB_STORAGE"'
1232bca2dfSMatthias Maennich
13115bb1ffSMatthew Wilcoxobj-$(CONFIG_USB_UAS)		+= uas.o
141da177e4SLinus Torvaldsobj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
151da177e4SLinus Torvalds
160a2b8a0dSmatt mooneyusb-storage-y := scsiglue.o protocol.o transport.o usb.o
170a2b8a0dSmatt mooneyusb-storage-y += initializers.o sierra_ms.o option_ms.o
180a2b8a0dSmatt mooneyusb-storage-y += usual-tables.o
19f61870eeSSebastian Andrzej Siewiorusb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
200ff71883SAlan Stern
21a74bba3bSAlan Sternobj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o
22fcdb5140SAlan Sternobj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
232cbbf357SAlan Sternobj-$(CONFIG_USB_STORAGE_DATAFAB)	+= ums-datafab.o
2441e568d1Shuajun liobj-$(CONFIG_USB_STORAGE_ENE_UB6250)	+= ums-eneub6250.o
250d62939fSAlan Sternobj-$(CONFIG_USB_STORAGE_FREECOM)	+= ums-freecom.o
2632d5493eSAlan Sternobj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
27a9fb6d05SAlan Sternobj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= ums-jumpshot.o
28c1033784SAlan Sternobj-$(CONFIG_USB_STORAGE_KARMA)		+= ums-karma.o
299cfb95efSAlan Sternobj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= ums-onetouch.o
3050a6cb93Swwangobj-$(CONFIG_USB_STORAGE_REALTEK)	+= ums-realtek.o
310ff71883SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
3270fcc005SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
3326d6818fSAlan Sternobj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
340ff71883SAlan Stern
350a2b8a0dSmatt mooneyums-alauda-y		:= alauda.o
360a2b8a0dSmatt mooneyums-cypress-y		:= cypress_atacb.o
370a2b8a0dSmatt mooneyums-datafab-y		:= datafab.o
3841e568d1Shuajun liums-eneub6250-y		:= ene_ub6250.o
390a2b8a0dSmatt mooneyums-freecom-y		:= freecom.o
400a2b8a0dSmatt mooneyums-isd200-y		:= isd200.o
410a2b8a0dSmatt mooneyums-jumpshot-y		:= jumpshot.o
420a2b8a0dSmatt mooneyums-karma-y		:= karma.o
430a2b8a0dSmatt mooneyums-onetouch-y		:= onetouch.o
4450a6cb93Swwangums-realtek-y		:= realtek_cr.o
450a2b8a0dSmatt mooneyums-sddr09-y		:= sddr09.o
460a2b8a0dSmatt mooneyums-sddr55-y		:= sddr55.o
470a2b8a0dSmatt mooneyums-usbat-y		:= shuttle_usbat.o
48