Makefile (32d5493eb83a217c3b1eba4b98cd6d19864f71a8) Makefile (70fcc0050733a7cd1b452cfa3de3a9b376412565)
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_USBAT) += shuttle_usbat.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_USBAT) += shuttle_usbat.o
14usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o
15usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o
16usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o
17usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o
18usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o
19usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o
20usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o
21usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o
22
23usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \
24 initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
25
26ifeq ($(CONFIG_USB_LIBUSUAL),)
27 usb-storage-objs += usual-tables.o
28else
29 obj-$(CONFIG_USB) += libusual.o usual-tables.o
30endif
31
32obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
33obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
14usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o
15usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o
16usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o
17usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o
18usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o
19usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o
20usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o
21
22usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \
23 initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
24
25ifeq ($(CONFIG_USB_LIBUSUAL),)
26 usb-storage-objs += usual-tables.o
27else
28 obj-$(CONFIG_USB) += libusual.o usual-tables.o
29endif
30
31obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
32obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
33obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o
34
35ums-isd200-objs := isd200.o
36ums-sddr09-objs := sddr09.o
34
35ums-isd200-objs := isd200.o
36ums-sddr09-objs := sddr09.o
37ums-sddr55-objs := sddr55.o