Makefile
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:3k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #
  2. # Makefile for the kernel ata, atapi, and ide block device drivers.
  3. #
  4. # 12 September 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
  5. # Rewritten to use lists instead of if-statements.
  6. #
  7. # Note : at this point, these files are compiled on all systems.
  8. # In the future, some of these should be built conditionally.
  9. #
  10. O_TARGET := idedriver.o
  11. export-objs := ide.o ide-features.o ide-probe.o ide-taskfile.o ataraid.o
  12. list-multi := ide-mod.o ide-probe-mod.o
  13. obj-y :=
  14. obj-m :=
  15. ide-obj-y :=
  16. obj-$(CONFIG_BLK_DEV_HD) += hd.o
  17. obj-$(CONFIG_BLK_DEV_IDE)       += ide-mod.o ide-probe-mod.o
  18. obj-$(CONFIG_BLK_DEV_IDECS)     += ide-cs.o
  19. obj-$(CONFIG_BLK_DEV_IDEDISK)   += ide-disk.o
  20. obj-$(CONFIG_BLK_DEV_IDECD)     += ide-cd.o
  21. obj-$(CONFIG_BLK_DEV_IDETAPE)   += ide-tape.o
  22. obj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy.o
  23. obj-$(CONFIG_BLK_DEV_IT8172)    += it8172.o
  24. ide-obj-$(CONFIG_BLK_DEV_AEC62XX) += aec62xx.o
  25. ide-obj-$(CONFIG_BLK_DEV_ALI14XX) += ali14xx.o
  26. ide-obj-$(CONFIG_BLK_DEV_ALI15X3) += alim15x3.o
  27. ide-obj-$(CONFIG_BLK_DEV_AMD74XX) += amd74xx.o
  28. ide-obj-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o
  29. ide-obj-$(CONFIG_BLK_DEV_CMD640) += cmd640.o
  30. ide-obj-$(CONFIG_BLK_DEV_CMD64X) += cmd64x.o
  31. ide-obj-$(CONFIG_BLK_DEV_CS5530) += cs5530.o
  32. ide-obj-$(CONFIG_BLK_DEV_CY82C693) += cy82c693.o
  33. ide-obj-$(CONFIG_BLK_DEV_DTC2278) += dtc2278.o
  34. ide-obj-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o
  35. ide-obj-$(CONFIG_BLK_DEV_GAYLE) += gayle.o
  36. ide-obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
  37. ide-obj-$(CONFIG_BLK_DEV_HPT34X) += hpt34x.o
  38. ide-obj-$(CONFIG_BLK_DEV_HPT366) += hpt366.o
  39. ide-obj-$(CONFIG_BLK_DEV_HT6560B) += ht6560b.o
  40. ide-obj-$(CONFIG_BLK_DEV_IDE_ICSIDE) += icside.o
  41. ide-obj-$(CONFIG_BLK_DEV_ADMA) += ide-adma.o
  42. ide-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI) += ide-dma.o
  43. ide-obj-$(CONFIG_BLK_DEV_IDEPCI) += ide-pci.o
  44. ide-obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
  45. ide-obj-$(CONFIG_BLK_DEV_IDE_PMAC) += ide-pmac.o
  46. ide-obj-$(CONFIG_BLK_DEV_IDE_SIBYTE) += ide-sibyte.o
  47. ide-obj-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o
  48. ide-obj-$(CONFIG_BLK_DEV_NS87415) += ns87415.o
  49. ide-obj-$(CONFIG_BLK_DEV_OPTI621) += opti621.o
  50. ide-obj-$(CONFIG_BLK_DEV_SVWKS) += serverworks.o
  51. ide-obj-$(CONFIG_BLK_DEV_PDC202XX) += pdc202xx.o
  52. ide-obj-$(CONFIG_BLK_DEV_PDC4030) += pdc4030.o
  53. ide-obj-$(CONFIG_BLK_DEV_PDC_ADMA) += pdcadma.o
  54. ide-obj-$(CONFIG_BLK_DEV_PIIX) += piix.o
  55. ide-obj-$(CONFIG_BLK_DEV_QD65XX) += qd65xx.o
  56. ide-obj-$(CONFIG_BLK_DEV_IDE_RAPIDE) += rapide.o
  57. ide-obj-$(CONFIG_BLK_DEV_RZ1000) += rz1000.o
  58. ide-obj-$(CONFIG_BLK_DEV_SIS5513) += sis5513.o
  59. ide-obj-$(CONFIG_BLK_DEV_SLC90E66) += slc90e66.o
  60. ide-obj-$(CONFIG_BLK_DEV_SL82C105) += sl82c105.o
  61. ide-obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o
  62. ide-obj-$(CONFIG_BLK_DEV_UMC8672) += umc8672.o
  63. ide-obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o
  64. ide-obj-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ide-m8xx.o
  65. # The virtualised raid layers MUST come after the ide itself or bad stuff
  66. # will happen.
  67. obj-$(CONFIG_BLK_DEV_ATARAID) += ataraid.o
  68. obj-$(CONFIG_BLK_DEV_ATARAID_PDC) += pdcraid.o
  69. obj-$(CONFIG_BLK_DEV_ATARAID_HPT) += hptraid.o
  70. ide-obj-$(CONFIG_PROC_FS) += ide-proc.o
  71. ide-mod-objs := ide.o ide-features.o ide-taskfile.o $(ide-obj-y)
  72. ide-probe-mod-objs := ide-probe.o ide-geometry.o
  73. include $(TOPDIR)/Rules.make
  74. ide-mod.o: $(ide-mod-objs)
  75. $(LD) -r -o $@ $(ide-mod-objs)
  76. ide-probe-mod.o: $(ide-probe-mod-objs)
  77. $(LD) -r -o $@ $(ide-probe-mod-objs)