summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/Makefile
blob: aaf1072dba3bb267c525f871bebb6e68852a242c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# Makefile for the USB Mass Storage device drivers.
#

O_TARGET	:= usb-storage.o
M_OBJS		:= usb-storage.o
O_OBJS		:= scsiglue.o protocol.o transport.o usb.o 
MOD_LIST_NAME	:= USB_STORAGE_MODULES

CFLAGS_scsiglue.o:= -I../../scsi/
CFLAGS_protocol.o:= -I../../scsi/
CFLAGS_transport.o:= -I../../scsi/
CFLAGS_debug.o:= -I../../scsi/
CFLAGS_usb.o:= -I../../scsi/
CFLAGS_scm.o:= -I../../scsi/

ifeq ($(CONFIG_USB_STORAGE_DEBUG),y)
	O_OBJS += debug.o
endif

ifeq ($(CONFIG_USB_STORAGE_HP8200e),y)
	O_OBJS += scm.o
endif

ifeq ($(CONFIG_USB_STORAGE_SDDR09),y)
	O_OBJS += scm.o
endif

ifeq ($(CONFIG_USB_STORAGE_FREECOM),y)
	O_OBJS += freecom.o
endif

ifeq ($(CONFIG_USB_STORAGE_SHUTTLE_SMARTMEDIA),y)
	O_OBJS += shuttle_sm.o
endif

ifeq ($(CONFIG_USB_STORAGE_SHUTTLE_COMPACTFLASH),y)
	O_OBJS += shuttle_cf.o
endif
 
include $(TOPDIR)/Rules.make