]> err.no Git - linux-2.6/blob - drivers/ide/Makefile
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / drivers / ide / Makefile
1 #
2 # link order is important here
3 #
4
5 EXTRA_CFLAGS                            += -Idrivers/ide
6
7 ide-core-y += ide.o ide-io.o ide-iops.o ide-lib.o ide-probe.o ide-taskfile.o \
8               ide-pio-blacklist.o
9
10 # core IDE code
11 ide-core-$(CONFIG_IDE_TIMINGS)          += ide-timings.o
12 ide-core-$(CONFIG_IDE_ATAPI)            += ide-atapi.o
13 ide-core-$(CONFIG_BLK_DEV_IDEPCI)       += setup-pci.o
14 ide-core-$(CONFIG_BLK_DEV_IDEDMA)       += ide-dma.o
15 ide-core-$(CONFIG_IDE_PROC_FS)          += ide-proc.o
16 ide-core-$(CONFIG_BLK_DEV_IDEACPI)      += ide-acpi.o
17
18 obj-$(CONFIG_BLK_DEV_IDE)               += ide-core.o
19
20 ifeq ($(CONFIG_IDE_ARM), y)
21         ide-arm-core-y += arm/ide_arm.o
22         obj-y += ide-arm-core.o
23 endif
24
25 obj-$(CONFIG_BLK_DEV_IDE)               += legacy/ pci/
26
27 obj-$(CONFIG_IDEPCI_PCIBUS_ORDER)       += ide-scan-pci.o
28
29 ifeq ($(CONFIG_BLK_DEV_CMD640), y)
30         cmd640-core-y += pci/cmd640.o
31         obj-y += cmd640-core.o
32 endif
33
34 obj-$(CONFIG_BLK_DEV_IDE)               += ppc/
35 obj-$(CONFIG_IDE_H8300)                 += h8300/
36 obj-$(CONFIG_IDE_GENERIC)               += ide-generic.o
37 obj-$(CONFIG_BLK_DEV_IDEPNP)            += ide-pnp.o
38
39 ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o
40
41 obj-$(CONFIG_BLK_DEV_IDEDISK)           += ide-disk.o
42 obj-$(CONFIG_BLK_DEV_IDECD)             += ide-cd_mod.o
43 obj-$(CONFIG_BLK_DEV_IDETAPE)           += ide-tape.o
44 obj-$(CONFIG_BLK_DEV_IDEFLOPPY)         += ide-floppy.o
45
46 ifeq ($(CONFIG_BLK_DEV_IDECS), y)
47         ide-cs-core-y += legacy/ide-cs.o
48         obj-y += ide-cs-core.o
49 endif
50
51 ifeq ($(CONFIG_BLK_DEV_PLATFORM), y)
52         ide-platform-core-y += legacy/ide_platform.o
53         obj-y += ide-platform-core.o
54 endif
55
56 obj-$(CONFIG_BLK_DEV_IDE)               += arm/ mips/