Makefile 1.2 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#
# 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_USBAT)	+= shuttle_usbat.o
usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55)	+= sddr55.o
usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM)	+= freecom.o
usb-storage-obj-$(CONFIG_USB_STORAGE_ISD200)	+= isd200.o
usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB)	+= datafab.o
usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT)	+= jumpshot.o
19
usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA)	+= alauda.o
20
usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH)	+= onetouch.o
21
usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA)	+= karma.o
22
usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o
L
Linus Torvalds 已提交
23 24

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

27 28 29 30
ifeq ($(CONFIG_USB_LIBUSUAL),)
	usb-storage-objs	+= usual-tables.o
else
	obj-$(CONFIG_USB)	+= libusual.o usual-tables.o
31
endif
32 33 34 35

obj-$(CONFIG_USB_STORAGE_SDDR09)	+= ums-sddr09.o

ums-sddr09-objs		:= sddr09.o