Makefile 1.4 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#
# 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-objs :=	scsiglue.o protocol.o transport.o usb.o \
15
			initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
16

17 18 19
ifeq ($(CONFIG_USB_LIBUSUAL),)
	usb-storage-objs	+= usual-tables.o
else
20 21
	obj-$(CONFIG_USB)	+= usb-libusual.o
	usb-libusual-objs	:= libusual.o usual-tables.o
22
endif
23

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

36
ums-alauda-objs		:= alauda.o
37
ums-cypress-objs	:= cypress_atacb.o
38
ums-datafab-objs	:= datafab.o
39
ums-freecom-objs	:= freecom.o
40
ums-isd200-objs		:= isd200.o
41
ums-jumpshot-objs	:= jumpshot.o
42
ums-karma-objs		:= karma.o
43
ums-onetouch-objs	:= onetouch.o
44
ums-sddr09-objs		:= sddr09.o
45
ums-sddr55-objs		:= sddr55.o
46
ums-usbat-objs		:= shuttle_usbat.o