xref: /openbmc/linux/drivers/usb/storage/Makefile (revision 37744fee)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the USB Mass Storage device drivers.
4#
5# 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
6# Rewritten to use lists instead of if-statements.
7#
8
9ccflags-y := -I $(srctree)/drivers/scsi
10
11ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_STORAGE
12
13obj-$(CONFIG_USB_UAS)		+= uas.o
14obj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
15
16usb-storage-y := scsiglue.o protocol.o transport.o usb.o
17usb-storage-y += initializers.o sierra_ms.o option_ms.o
18usb-storage-y += usual-tables.o
19usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
20
21obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o
22obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
23obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= ums-datafab.o
24obj-$(CONFIG_USB_STORAGE_ENE_UB6250)	+= ums-eneub6250.o
25obj-$(CONFIG_USB_STORAGE_FREECOM)	+= ums-freecom.o
26obj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
27obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= ums-jumpshot.o
28obj-$(CONFIG_USB_STORAGE_KARMA)		+= ums-karma.o
29obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= ums-onetouch.o
30obj-$(CONFIG_USB_STORAGE_REALTEK)	+= ums-realtek.o
31obj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
32obj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
33obj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
34
35ums-alauda-y		:= alauda.o
36ums-cypress-y		:= cypress_atacb.o
37ums-datafab-y		:= datafab.o
38ums-eneub6250-y		:= ene_ub6250.o
39ums-freecom-y		:= freecom.o
40ums-isd200-y		:= isd200.o
41ums-jumpshot-y		:= jumpshot.o
42ums-karma-y		:= karma.o
43ums-onetouch-y		:= onetouch.o
44ums-realtek-y		:= realtek_cr.o
45ums-sddr09-y		:= sddr09.o
46ums-sddr55-y		:= sddr55.o
47ums-usbat-y		:= shuttle_usbat.o
48