Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Makefile for the LSI Logic Fusion MPT (Message Passing Technology) drivers.
  3. #
  4. # Note! If you want to turn on various debug defines for an extended period of
  5. # time but don't want them lingering around in the Makefile when you pass it on
  6. # to someone else, use the MPT_CFLAGS env variable (thanks Steve). -nromer
  7. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-{ LSI_LOGIC
  8. # Architecture-specific...
  9. # # intel
  10. #EXTRA_CFLAGS += -g
  11. # # sparc64
  12. #EXTRA_CFLAGS += -gstabs+
  13. EXTRA_CFLAGS += ${MPT_CFLAGS}
  14. # Fusion MPT drivers; recognized debug defines...
  15. # MPT general:
  16. #EXTRA_CFLAGS += -DMPT_DEBUG_SCSI
  17. #EXTRA_CFLAGS += -DMPT_DEBUG
  18. #EXTRA_CFLAGS += -DMPT_DEBUG_MSG_FRAME
  19. #EXTRA_CFLAGS += -DMPT_DEBUG_SG
  20. #
  21. # driver/module specifics...
  22. #
  23. # For mptbase:
  24. #CFLAGS_mptbase.o += -DMPT_DEBUG_HANDSHAKE
  25. #CFLAGS_mptbase.o += -DMPT_DEBUG_IRQ
  26. #
  27. # For mptscsih:
  28. #CFLAGS_mptscsih.o += -DMPT_DEBUG_SCANDV
  29. #CFLAGS_mptscsih.o += -DMPT_DEBUG_RESET
  30. #CFLAGS_mptscsih.o += -DMPT_DEBUG_NEH
  31. #
  32. # For mptctl:
  33. #CFLAGS_mptctl.o += -DMPT_DEBUG_IOCTL
  34. #
  35. # For mptlan:
  36. #CFLAGS_mptlan.o += -DMPT_LAN_IO_DEBUG
  37. #
  38. # For isense:
  39. # EXP...
  40. ##mptscsih-objs := scsihost.o scsiherr.o
  41. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-} LSI_LOGIC
  42. obj-$(CONFIG_FUSION) += mptbase.o mptscsih.o
  43. obj-$(CONFIG_FUSION_CTL) += mptctl.o
  44. obj-$(CONFIG_FUSION_LAN) += mptlan.o