xref: /openbmc/linux/drivers/usb/storage/Makefile (revision a00828e9)
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
101da177e4SLinus Torvaldsobj-$(CONFIG_USB_STORAGE)	+= usb-storage.o
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG)	+= debug.o
131da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_USBAT)	+= shuttle_usbat.o
141da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_SDDR09)	+= sddr09.o
151da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55)	+= sddr55.o
161da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM)	+= freecom.o
171da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_DPCM)	+= dpcm.o
181da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_ISD200)	+= isd200.o
191da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= datafab.o
201da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= jumpshot.o
2134008dbfSMatthew Dharmusb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= onetouch.o
221da177e4SLinus Torvalds
231da177e4SLinus Torvaldsusb-storage-objs :=	scsiglue.o protocol.o transport.o usb.o \
241da177e4SLinus Torvalds			initializers.o $(usb-storage-obj-y)
25a00828e9SPete Zaitcev
26a00828e9SPete Zaitcevifneq ($(CONFIG_USB_LIBUSUAL),)
27a00828e9SPete Zaitcev	obj-$(CONFIG_USB)	+= libusual.o
28a00828e9SPete Zaitcevendif
29