Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. # First come modules that register themselves with the core
  11. EXTRA_CFLAGS += -Idrivers/ide
  12. obj-$(CONFIG_BLK_DEV_IDE) += pci/
  13. ide-core-y += ide.o ide-io.o ide-iops.o ide-lib.o ide-probe.o ide-taskfile.o
  14. ide-core-$(CONFIG_BLK_DEV_CMD640) += pci/cmd640.o
  15. # Core IDE code - must come before legacy
  16. ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o
  17. ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o
  18. ide-core-$(CONFIG_PROC_FS) += ide-proc.o
  19. ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o
  20. # built-in only drivers from arm/
  21. ide-core-$(CONFIG_IDE_ARM) += arm/ide_arm.o
  22. # built-in only drivers from legacy/
  23. ide-core-$(CONFIG_BLK_DEV_BUDDHA) += legacy/buddha.o
  24. ide-core-$(CONFIG_BLK_DEV_FALCON_IDE) += legacy/falconide.o
  25. ide-core-$(CONFIG_BLK_DEV_GAYLE) += legacy/gayle.o
  26. ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += legacy/macide.o
  27. ide-core-$(CONFIG_BLK_DEV_Q40IDE) += legacy/q40ide.o
  28. # built-in only drivers from ppc/
  29. ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
  30. ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
  31. # built-in only drivers from h8300/
  32. ide-core-$(CONFIG_H8300) += h8300/ide-h8300.o
  33. obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
  34. obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
  35. obj-$(CONFIG_BLK_DEV_IDEDISK) += ide-disk.o
  36. obj-$(CONFIG_BLK_DEV_IDECD) += ide-cd.o
  37. obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o
  38. obj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy.o
  39. obj-$(CONFIG_BLK_DEV_IDE) += legacy/ arm/ mips/
  40. obj-$(CONFIG_BLK_DEV_HD) += legacy/
  41. obj-$(CONFIG_ETRAX_IDE) += cris/