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_FREECOM) += freecom.o 151da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o 161da177e4SLinus Torvaldsusb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o 17e80b0fadSMatthew Dharmusb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o 1834008dbfSMatthew Dharmusb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o 19dfe0d3baSMatthew Dharmusb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o 20d277064eSmatthieu castetusb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o 211da177e4SLinus Torvalds 221da177e4SLinus Torvaldsusb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ 23281b064fSDan Williams initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y) 24a00828e9SPete Zaitcev 25e6e244b6SAlan Sternifeq ($(CONFIG_USB_LIBUSUAL),) 26e6e244b6SAlan Stern usb-storage-objs += usual-tables.o 27e6e244b6SAlan Sternelse 28e6e244b6SAlan Stern obj-$(CONFIG_USB) += libusual.o usual-tables.o 29a00828e9SPete Zaitcevendif 300ff71883SAlan Stern 3132d5493eSAlan Sternobj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o 320ff71883SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o 3370fcc005SAlan Sternobj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o 340ff71883SAlan Stern 3532d5493eSAlan Sternums-isd200-objs := isd200.o 360ff71883SAlan Sternums-sddr09-objs := sddr09.o 3770fcc005SAlan Sternums-sddr55-objs := sddr55.o 38