Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for the USB Mass Storage device drivers.
  4. #
  5. # 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
  6. # Rewritten to use lists instead of if-statements.
  7. #
  8. ccflags-y := -I $(srctree)/drivers/scsi
  9. ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=USB_STORAGE
  10. obj-$(CONFIG_USB_UAS) += uas.o
  11. obj-$(CONFIG_USB_STORAGE) += usb-storage.o
  12. usb-storage-y := scsiglue.o protocol.o transport.o usb.o
  13. usb-storage-y += initializers.o sierra_ms.o option_ms.o
  14. usb-storage-y += usual-tables.o
  15. usb-storage-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
  16. obj-$(CONFIG_USB_STORAGE_ALAUDA) += ums-alauda.o
  17. obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
  18. obj-$(CONFIG_USB_STORAGE_DATAFAB) += ums-datafab.o
  19. obj-$(CONFIG_USB_STORAGE_ENE_UB6250) += ums-eneub6250.o
  20. obj-$(CONFIG_USB_STORAGE_FREECOM) += ums-freecom.o
  21. obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
  22. obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o
  23. obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o
  24. obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o
  25. obj-$(CONFIG_USB_STORAGE_REALTEK) += ums-realtek.o
  26. obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
  27. obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o
  28. obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o
  29. ums-alauda-y := alauda.o
  30. ums-cypress-y := cypress_atacb.o
  31. ums-datafab-y := datafab.o
  32. ums-eneub6250-y := ene_ub6250.o
  33. ums-freecom-y := freecom.o
  34. ums-isd200-y := isd200.o
  35. ums-jumpshot-y := jumpshot.o
  36. ums-karma-y := karma.o
  37. ums-onetouch-y := onetouch.o
  38. ums-realtek-y := realtek_cr.o
  39. ums-sddr09-y := sddr09.o
  40. ums-sddr55-y := sddr55.o
  41. ums-usbat-y := shuttle_usbat.o