Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the USB Mass Storage device drivers. |
| 3 | # |
| 4 | # 15 Aug 2000, Christoph Hellwig <hch@infradead.org> |
| 5 | # Rewritten to use lists instead of if-statements. |
| 6 | # |
| 7 | |
| 8 | EXTRA_CFLAGS := -Idrivers/scsi |
| 9 | |
| 10 | obj-$(CONFIG_USB_STORAGE) += usb-storage.o |
| 11 | |
| 12 | usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o |
| 13 | usb-storage-obj-$(CONFIG_USB_STORAGE_USBAT) += shuttle_usbat.o |
| 14 | usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR09) += sddr09.o |
| 15 | usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o |
| 16 | usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | usb-storage-obj-$(CONFIG_USB_STORAGE_ISD200) += isd200.o |
| 18 | usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o |
| 19 | usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o |
Matthew Dharm | e80b0fa | 2005-12-04 22:02:44 -0800 | [diff] [blame] | 20 | usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o |
Matthew Dharm | 34008db | 2005-07-28 14:49:01 -0700 | [diff] [blame] | 21 | usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o |
Matthew Dharm | dfe0d3b | 2006-08-13 17:30:14 -0700 | [diff] [blame] | 22 | usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o |
matthieu castet | d277064 | 2008-03-19 19:40:52 +0100 | [diff] [blame] | 23 | usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ |
Dan Williams | 281b064 | 2008-12-14 12:39:22 -0500 | [diff] [blame] | 26 | initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y) |
Pete Zaitcev | a00828e | 2005-10-22 20:15:09 -0700 | [diff] [blame] | 27 | |
| 28 | ifneq ($(CONFIG_USB_LIBUSUAL),) |
| 29 | obj-$(CONFIG_USB) += libusual.o |
| 30 | endif |