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