1# 2# Makefile for the USB Mass Storage device drivers. 3# 4# 15 Aug 2000, Christoph Hellwig <hch@infradead.org> 5# Rewritten to use lists instead of if-statements. 6# 7 8O_TARGET := storage.o 9EXTRA_CFLAGS := -I../../scsi/ 10 11list-multi := usb-storage.o 12 13obj-$(CONFIG_USB_STORAGE) += usb-storage.o 14 15usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o 16usb-storage-obj-$(CONFIG_USB_STORAGE_HP8200e) += shuttle_usbat.o 17usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR09) += sddr09.o 18usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o 19usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o 20usb-storage-obj-$(CONFIG_USB_STORAGE_DPCM) += dpcm.o 21usb-storage-obj-$(CONFIG_USB_STORAGE_ISD200) += isd200.o 22usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o 23usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o 24 25usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \ 26 initializers.o $(usb-storage-obj-y) 27 28include $(TOPDIR)/Rules.make 29 30usb-storage.o: $(usb-storage-objs) 31 $(LD) -r -o $@ $(usb-storage-objs) 32