Makefile (25013315678c78091a7826be7097fa2b60e30aac) | Makefile (0a2b8a0d1101179fdebc974a7c72b514aede9d9d) |
---|---|
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 | 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 |
8ccflags-y := -Idrivers/scsi | 8ccflags-y := -Idrivers/scsi |
9 10obj-$(CONFIG_USB_UAS) += uas.o 11obj-$(CONFIG_USB_STORAGE) += usb-storage.o 12 | 9 10obj-$(CONFIG_USB_UAS) += uas.o 11obj-$(CONFIG_USB_STORAGE) += usb-storage.o 12 |
13usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o | 13usb-storage-y := scsiglue.o protocol.o transport.o usb.o 14usb-storage-y += initializers.o sierra_ms.o option_ms.o |
14 | 15 |
15usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ 16 initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y) | 16usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o |
17 18ifeq ($(CONFIG_USB_LIBUSUAL),) | 17 18ifeq ($(CONFIG_USB_LIBUSUAL),) |
19 usb-storage-objs += usual-tables.o | 19 usb-storage-y += usual-tables.o |
20else 21 obj-$(CONFIG_USB) += usb-libusual.o | 20else 21 obj-$(CONFIG_USB) += usb-libusual.o |
22 usb-libusual-objs := libusual.o usual-tables.o | 22 usb-libusual-y := libusual.o usual-tables.o |
23endif 24 25obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o 26obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o 27obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o 28obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o 29obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o 30obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o 31obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o 32obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o 33obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o 34obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o 35obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o 36 | 23endif 24 25obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o 26obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o 27obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o 28obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o 29obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o 30obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o 31obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o 32obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o 33obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o 34obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o 35obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o 36 |
37ums-alauda-objs := alauda.o 38ums-cypress-objs := cypress_atacb.o 39ums-datafab-objs := datafab.o 40ums-freecom-objs := freecom.o 41ums-isd200-objs := isd200.o 42ums-jumpshot-objs := jumpshot.o 43ums-karma-objs := karma.o 44ums-onetouch-objs := onetouch.o 45ums-sddr09-objs := sddr09.o 46ums-sddr55-objs := sddr55.o 47ums-usbat-objs := shuttle_usbat.o | 37ums-alauda-y := alauda.o 38ums-cypress-y := cypress_atacb.o 39ums-datafab-y := datafab.o 40ums-freecom-y := freecom.o 41ums-isd200-y := isd200.o 42ums-jumpshot-y := jumpshot.o 43ums-karma-y := karma.o 44ums-onetouch-y := onetouch.o 45ums-sddr09-y := sddr09.o 46ums-sddr55-y := sddr55.o 47ums-usbat-y := shuttle_usbat.o |