2 # Makefile for the kernel ata, atapi, and ide block device drivers.
4 # 12 September 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
5 # Rewritten to use lists instead of if-statements.
7 # Note : at this point, these files are compiled on all systems.
8 # In the future, some of these should be built conditionally.
10 # First come modules that register themselves with the core
11 obj-
$(CONFIG_BLK_DEV_IDEPCI
) += pci
/
13 # Core IDE code - must come before legacy
15 obj-
$(CONFIG_BLK_DEV_IDE
) += ide-io.o ide-probe.o ide-iops.o ide-taskfile.o ide.o ide-lib.o ide-default.o
16 obj-
$(CONFIG_BLK_DEV_IDEDISK
) += ide-disk.o
17 obj-
$(CONFIG_BLK_DEV_IDECD
) += ide-cd.o
18 obj-
$(CONFIG_BLK_DEV_IDETAPE
) += ide-tape.o
19 obj-
$(CONFIG_BLK_DEV_IDEFLOPPY
) += ide-floppy.o
21 obj-
$(CONFIG_BLK_DEV_IDEPCI
) += setup-pci.o
22 obj-
$(CONFIG_BLK_DEV_IDEDMA_PCI
) += ide-dma.o
23 obj-
$(CONFIG_BLK_DEV_IDE_TCQ
) += ide-tcq.o
24 obj-
$(CONFIG_BLK_DEV_IDEPNP
) += ide-pnp.o
26 ifeq ($(CONFIG_BLK_DEV_IDE
),y
)
27 obj-
$(CONFIG_PROC_FS
) += ide-proc.o
30 obj-
$(CONFIG_BLK_DEV_IDE
) += legacy
/ ppc
/ arm
/ mips
/
31 obj-
$(CONFIG_BLK_DEV_HD
) += legacy
/