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