summaryrefslogtreecommitdiff
path: root/drivers/ide/Makefile
blob: 7364318f75787094f33e1ff2a72db950769ba55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Makefile for the kernel ata, atapi, and ide block device drivers.
#
# 12 September 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
# Rewritten to use lists instead of if-statements.
#
# Note : at this point, these files are compiled on all systems.
# In the future, some of these should be built conditionally.
#
# First come modules that register themselves with the core
obj-$(CONFIG_BLK_DEV_IDEPCI)		+= pci/

# Core IDE code - must come before legacy

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
obj-$(CONFIG_BLK_DEV_IDEDISK)		+= ide-disk.o
obj-$(CONFIG_BLK_DEV_IDECD)		+= ide-cd.o
obj-$(CONFIG_BLK_DEV_IDETAPE)		+= ide-tape.o
obj-$(CONFIG_BLK_DEV_IDEFLOPPY)		+= ide-floppy.o

obj-$(CONFIG_BLK_DEV_IDEPCI)		+= setup-pci.o
obj-$(CONFIG_BLK_DEV_IDEDMA_PCI)	+= ide-dma.o
obj-$(CONFIG_BLK_DEV_IDE_TCQ)		+= ide-tcq.o
obj-$(CONFIG_BLK_DEV_IDEPNP)		+= ide-pnp.o

ifeq ($(CONFIG_BLK_DEV_IDE),y)
obj-$(CONFIG_PROC_FS)			+= ide-proc.o
endif

obj-$(CONFIG_BLK_DEV_IDE)		+= legacy/ ppc/ arm/
obj-$(CONFIG_BLK_DEV_HD)		+= legacy/