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

M
matt mooney 已提交
8
ccflags-y := -Idrivers/scsi
L
Linus Torvalds 已提交
9

M
Matthew Wilcox 已提交
10
obj-$(CONFIG_USB_UAS)		+= uas.o
L
Linus Torvalds 已提交
11 12
obj-$(CONFIG_USB_STORAGE)	+= usb-storage.o

M
matt mooney 已提交
13 14
usb-storage-y := scsiglue.o protocol.o transport.o usb.o
usb-storage-y += initializers.o sierra_ms.o option_ms.o
L
Linus Torvalds 已提交
15

M
matt mooney 已提交
16
usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
17

18
ifeq ($(CONFIG_USB_LIBUSUAL),)
M
matt mooney 已提交
19
	usb-storage-y		+= usual-tables.o
20
else
21
	obj-$(CONFIG_USB)	+= usb-libusual.o
M
matt mooney 已提交
22
	usb-libusual-y		:= libusual.o usual-tables.o
23
endif
24

25
obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= ums-alauda.o
26
obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
27
obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= ums-datafab.o
28
obj-$(CONFIG_USB_STORAGE_ENE_UB6250)	+= ums-eneub6250.o
29
obj-$(CONFIG_USB_STORAGE_FREECOM)	+= ums-freecom.o
30
obj-$(CONFIG_USB_STORAGE_ISD200)	+= ums-isd200.o
31
obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= ums-jumpshot.o
32
obj-$(CONFIG_USB_STORAGE_KARMA)		+= ums-karma.o
33
obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= ums-onetouch.o
34
obj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o
35
obj-$(CONFIG_USB_STORAGE_SDDR55)	+= ums-sddr55.o
36
obj-$(CONFIG_USB_STORAGE_USBAT)		+= ums-usbat.o
37

M
matt mooney 已提交
38 39 40
ums-alauda-y		:= alauda.o
ums-cypress-y		:= cypress_atacb.o
ums-datafab-y		:= datafab.o
41
ums-eneub6250-y		:= ene_ub6250.o
M
matt mooney 已提交
42 43 44 45 46 47 48 49
ums-freecom-y		:= freecom.o
ums-isd200-y		:= isd200.o
ums-jumpshot-y		:= jumpshot.o
ums-karma-y		:= karma.o
ums-onetouch-y		:= onetouch.o
ums-sddr09-y		:= sddr09.o
ums-sddr55-y		:= sddr55.o
ums-usbat-y		:= shuttle_usbat.o