xref: /openbmc/linux/drivers/usb/storage/Makefile (revision 7ed1c190)
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 := -Idrivers/scsi
10
11obj-$(CONFIG_USB_UAS)		+= uas.o
12obj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
13
14usb-storage-y := scsiglue.o protocol.o transport.o usb.o
15usb-storage-y += initializers.o sierra_ms.o option_ms.o
16usb-storage-y += usual-tables.o
17usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
18
19obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o
20obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
21obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= ums-datafab.o
22obj-$(CONFIG_USB_STORAGE_ENE_UB6250)	+= ums-eneub6250.o
23obj-$(CONFIG_USB_STORAGE_FREECOM)	+= ums-freecom.o
24obj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
25obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= ums-jumpshot.o
26obj-$(CONFIG_USB_STORAGE_KARMA)		+= ums-karma.o
27obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= ums-onetouch.o
28obj-$(CONFIG_USB_STORAGE_REALTEK)	+= ums-realtek.o
29obj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
30obj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
31obj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
32
33ums-alauda-y		:= alauda.o
34ums-cypress-y		:= cypress_atacb.o
35ums-datafab-y		:= datafab.o
36ums-eneub6250-y		:= ene_ub6250.o
37ums-freecom-y		:= freecom.o
38ums-isd200-y		:= isd200.o
39ums-jumpshot-y		:= jumpshot.o
40ums-karma-y		:= karma.o
41ums-onetouch-y		:= onetouch.o
42ums-realtek-y		:= realtek_cr.o
43ums-sddr09-y		:= sddr09.o
44ums-sddr55-y		:= sddr55.o
45ums-usbat-y		:= shuttle_usbat.o
46