patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / ide / Makefile
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
12 EXTRA_CFLAGS                            += -Idrivers/ide
13
14 obj-$(CONFIG_BLK_DEV_IDE)               += pci/
15
16 ide-core-y += ide.o ide-default.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \
17         ide-taskfile.o
18
19 ide-core-$(CONFIG_BLK_DEV_CMD640)       += pci/cmd640.o
20
21 # Core IDE code - must come before legacy
22 ide-core-$(CONFIG_BLK_DEV_IDEPCI)       += setup-pci.o
23 ide-core-$(CONFIG_BLK_DEV_IDEDMA)       += ide-dma.o
24 ide-core-$(CONFIG_BLK_DEV_IDE_TCQ)      += ide-tcq.o
25 ide-core-$(CONFIG_PROC_FS)              += ide-proc.o
26 ide-core-$(CONFIG_BLK_DEV_IDEPNP)       += ide-pnp.o
27
28 # built-in only drivers from arm/
29 ide-core-$(CONFIG_IDE_ARM)              += arm/ide_arm.o
30
31 # built-in only drivers from legacy/
32 ide-core-$(CONFIG_BLK_DEV_IDE_PC9800)   += legacy/pc9800.o
33 ide-core-$(CONFIG_BLK_DEV_BUDDHA)       += legacy/buddha.o
34 ide-core-$(CONFIG_BLK_DEV_FALCON_IDE)   += legacy/falconide.o
35 ide-core-$(CONFIG_BLK_DEV_GAYLE)        += legacy/gayle.o
36 ide-core-$(CONFIG_BLK_DEV_MAC_IDE)      += legacy/macide.o
37 ide-core-$(CONFIG_BLK_DEV_Q40IDE)       += legacy/q40ide.o
38
39 # built-in only drivers from ppc/
40 ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE)   += ppc/mpc8xx.o
41 ide-core-$(CONFIG_BLK_DEV_IDE_PMAC)     += ppc/pmac.o
42
43 # built-in only drivers from h8300/
44 ide-core-$(CONFIG_H8300)                += h8300/ide-h8300.o
45
46 obj-$(CONFIG_BLK_DEV_IDE)               += ide-core.o
47 obj-$(CONFIG_IDE_GENERIC)               += ide-generic.o
48
49 obj-$(CONFIG_BLK_DEV_IDEDISK)           += ide-disk.o
50 obj-$(CONFIG_BLK_DEV_IDECD)             += ide-cd.o
51 obj-$(CONFIG_BLK_DEV_IDETAPE)           += ide-tape.o
52 obj-$(CONFIG_BLK_DEV_IDEFLOPPY)         += ide-floppy.o
53
54 obj-$(CONFIG_BLK_DEV_IDE)               += legacy/ arm/
55 obj-$(CONFIG_BLK_DEV_HD)                += legacy/