Makefile 2.89 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6 7 8 9 10 11 12
#
# 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.
#

O_TARGET := idedriver.o

Martin Dalecki's avatar
Martin Dalecki committed
13
export-objs	:= ide-taskfile.o ide.o ide-features.o ide-probe.o ide-dma.o ataraid.o
Linus Torvalds's avatar
Linus Torvalds committed
14 15 16 17 18 19

obj-y		:=
obj-m		:=
ide-obj-y	:=

obj-$(CONFIG_BLK_DEV_HD)	+= hd.o
20
obj-$(CONFIG_BLK_DEV_IDE)       += ide-mod.o
Linus Torvalds's avatar
Linus Torvalds committed
21 22 23 24 25
obj-$(CONFIG_BLK_DEV_IDECS)     += ide-cs.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
Linus Torvalds's avatar
Linus Torvalds committed
26

Linus Torvalds's avatar
Linus Torvalds committed
27
obj-$(CONFIG_BLK_DEV_IT8172)    += it8172.o
Linus Torvalds's avatar
Linus Torvalds committed
28 29 30 31

ide-obj-$(CONFIG_BLK_DEV_AEC62XX)	+= aec62xx.o
ide-obj-$(CONFIG_BLK_DEV_ALI14XX)	+= ali14xx.o
ide-obj-$(CONFIG_BLK_DEV_ALI15X3)	+= alim15x3.o
Linus Torvalds's avatar
Linus Torvalds committed
32
ide-obj-$(CONFIG_BLK_DEV_AMD74XX)	+= amd74xx.o
Linus Torvalds's avatar
Linus Torvalds committed
33 34 35 36 37 38 39 40 41 42 43 44 45
ide-obj-$(CONFIG_BLK_DEV_BUDDHA)	+= buddha.o
ide-obj-$(CONFIG_BLK_DEV_CMD640)	+= cmd640.o
ide-obj-$(CONFIG_BLK_DEV_CMD64X)	+= cmd64x.o
ide-obj-$(CONFIG_BLK_DEV_CS5530)	+= cs5530.o
ide-obj-$(CONFIG_BLK_DEV_CY82C693)	+= cy82c693.o
ide-obj-$(CONFIG_BLK_DEV_DTC2278)	+= dtc2278.o
ide-obj-$(CONFIG_BLK_DEV_FALCON_IDE)	+= falconide.o
ide-obj-$(CONFIG_BLK_DEV_GAYLE)		+= gayle.o
ide-obj-$(CONFIG_BLK_DEV_Q40IDE)	+= q40ide.o
ide-obj-$(CONFIG_BLK_DEV_HPT34X)	+= hpt34x.o
ide-obj-$(CONFIG_BLK_DEV_HPT366)	+= hpt366.o
ide-obj-$(CONFIG_BLK_DEV_HT6560B)	+= ht6560b.o
ide-obj-$(CONFIG_BLK_DEV_IDE_ICSIDE)	+= icside.o
Linus Torvalds's avatar
Linus Torvalds committed
46
ide-obj-$(CONFIG_BLK_DEV_IDEDMA_PCI)	+= ide-dma.o
Martin Dalecki's avatar
Martin Dalecki committed
47
ide-obj-$(CONFIG_BLK_DEV_IDE_TCQ)	+= tcq.o
Martin Dalecki's avatar
Martin Dalecki committed
48
ide-obj-$(CONFIG_PCI)			+= ide-pci.o
Linus Torvalds's avatar
Linus Torvalds committed
49 50 51 52 53
ide-obj-$(CONFIG_BLK_DEV_ISAPNP)	+= ide-pnp.o
ide-obj-$(CONFIG_BLK_DEV_IDE_PMAC)	+= ide-pmac.o
ide-obj-$(CONFIG_BLK_DEV_MAC_IDE)	+= macide.o
ide-obj-$(CONFIG_BLK_DEV_NS87415)	+= ns87415.o
ide-obj-$(CONFIG_BLK_DEV_OPTI621)	+= opti621.o
Linus Torvalds's avatar
Linus Torvalds committed
54
ide-obj-$(CONFIG_BLK_DEV_SVWKS)		+= serverworks.o
Linus Torvalds's avatar
Linus Torvalds committed
55 56 57
ide-obj-$(CONFIG_BLK_DEV_PDC202XX)	+= pdc202xx.o
ide-obj-$(CONFIG_BLK_DEV_PDC4030)	+= pdc4030.o
ide-obj-$(CONFIG_BLK_DEV_PIIX)		+= piix.o
Linus Torvalds's avatar
Linus Torvalds committed
58
ide-obj-$(CONFIG_BLK_DEV_QD65XX)	+= qd65xx.o
Linus Torvalds's avatar
Linus Torvalds committed
59 60 61 62 63 64 65
ide-obj-$(CONFIG_BLK_DEV_IDE_RAPIDE)	+= rapide.o
ide-obj-$(CONFIG_BLK_DEV_RZ1000)	+= rz1000.o
ide-obj-$(CONFIG_BLK_DEV_SIS5513)	+= sis5513.o
ide-obj-$(CONFIG_BLK_DEV_SL82C105)	+= sl82c105.o
ide-obj-$(CONFIG_BLK_DEV_TRM290)	+= trm290.o
ide-obj-$(CONFIG_BLK_DEV_UMC8672)	+= umc8672.o
ide-obj-$(CONFIG_BLK_DEV_VIA82CXXX)	+= via82cxxx.o
Linus Torvalds's avatar
Linus Torvalds committed
66
ide-obj-$(CONFIG_BLK_DEV_MPC8xx_IDE)	+= ide-m8xx.o
Linus Torvalds's avatar
Linus Torvalds committed
67

Linus Torvalds's avatar
Linus Torvalds committed
68 69
# The virtualised raid layers MUST come after the ide itself or bad stuff
# will happen.
Linus Torvalds's avatar
Linus Torvalds committed
70
obj-$(CONFIG_BLK_DEV_ATARAID)		+= ataraid.o
Linus Torvalds's avatar
Linus Torvalds committed
71 72 73
obj-$(CONFIG_BLK_DEV_ATARAID_PDC)	+= pdcraid.o
obj-$(CONFIG_BLK_DEV_ATARAID_HPT)	+= hptraid.o

Martin Dalecki's avatar
Martin Dalecki committed
74
ide-mod-objs	:= ide-taskfile.o ide.o ide-probe.o ide-geometry.o ide-features.o ata-timing.o $(ide-obj-y)
Linus Torvalds's avatar
Linus Torvalds committed
75 76

include $(TOPDIR)/Rules.make