Makefile 1.3 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#
# Makefile for the USB Mass Storage device drivers.
#
# 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#

EXTRA_CFLAGS	:= -Idrivers/scsi

obj-$(CONFIG_USB_STORAGE)	+= usb-storage.o

usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG)	+= debug.o
usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM)	+= freecom.o
usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= datafab.o
usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= jumpshot.o
16
usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= alauda.o
17
usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= onetouch.o
18
usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA)	+= karma.o
L
Linus Torvalds 已提交
19 20

usb-storage-objs :=	scsiglue.o protocol.o transport.o usb.o \
21
			initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
22

23 24 25 26
ifeq ($(CONFIG_USB_LIBUSUAL),)
	usb-storage-objs	+= usual-tables.o
else
	obj-$(CONFIG_USB)	+= libusual.o usual-tables.o
27
endif
28

29
obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
30
obj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
31
obj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
32
obj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
33
obj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
34

35
ums-cypress-objs	:= cypress_atacb.o
36
ums-isd200-objs		:= isd200.o
37
ums-sddr09-objs		:= sddr09.o
38
ums-sddr55-objs		:= sddr55.o
39
ums-usbat-objs		:= shuttle_usbat.o