Makefile 1.6 KB
Newer Older
L
Linus Torvalds 已提交
1
#
2
# link order is important here
3
#
L
Linus Torvalds 已提交
4 5 6

EXTRA_CFLAGS				+= -Idrivers/ide

7 8
ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \
	      ide-taskfile.o ide-pio-blacklist.o
L
Linus Torvalds 已提交
9

10
# core IDE code
11
ide-core-$(CONFIG_IDE_TIMINGS)		+= ide-timings.o
12
ide-core-$(CONFIG_IDE_ATAPI)		+= ide-atapi.o
L
Linus Torvalds 已提交
13 14
ide-core-$(CONFIG_BLK_DEV_IDEPCI)	+= setup-pci.o
ide-core-$(CONFIG_BLK_DEV_IDEDMA)	+= ide-dma.o
15
ide-core-$(CONFIG_IDE_PROC_FS)		+= ide-proc.o
H
Hannes Reinecke 已提交
16
ide-core-$(CONFIG_BLK_DEV_IDEACPI)	+= ide-acpi.o
L
Linus Torvalds 已提交
17

18
obj-$(CONFIG_IDE)			+= ide-core.o
L
Linus Torvalds 已提交
19

20 21 22 23
ifeq ($(CONFIG_IDE_ARM), y)
	ide-arm-core-y += arm/ide_arm.o
	obj-y += ide-arm-core.o
endif
L
Linus Torvalds 已提交
24

25
obj-$(CONFIG_IDE)			+= legacy/ pci/
L
Linus Torvalds 已提交
26

27
obj-$(CONFIG_IDEPCI_PCIBUS_ORDER)	+= ide-scan-pci.o
L
Linus Torvalds 已提交
28

29 30 31 32 33
ifeq ($(CONFIG_BLK_DEV_CMD640), y)
	cmd640-core-y += pci/cmd640.o
	obj-y += cmd640-core.o
endif

34
obj-$(CONFIG_IDE)			+= ppc/
35
obj-$(CONFIG_IDE_H8300)			+= h8300/
L
Linus Torvalds 已提交
36
obj-$(CONFIG_IDE_GENERIC)		+= ide-generic.o
37
obj-$(CONFIG_BLK_DEV_IDEPNP)		+= ide-pnp.o
L
Linus Torvalds 已提交
38

39
ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o
40
ide-floppy_mod-y += ide-floppy.o ide-floppy_ioctl.o
41

42 43 44 45
ifeq ($(CONFIG_IDE_PROC_FS), y)
	ide-floppy_mod-y += ide-floppy_proc.o
endif

L
Linus Torvalds 已提交
46
obj-$(CONFIG_BLK_DEV_IDEDISK)		+= ide-disk.o
47
obj-$(CONFIG_BLK_DEV_IDECD)		+= ide-cd_mod.o
48
obj-$(CONFIG_BLK_DEV_IDEFLOPPY)		+= ide-floppy_mod.o
L
Linus Torvalds 已提交
49 50
obj-$(CONFIG_BLK_DEV_IDETAPE)		+= ide-tape.o

51 52 53 54 55 56 57 58 59 60
ifeq ($(CONFIG_BLK_DEV_IDECS), y)
	ide-cs-core-y += legacy/ide-cs.o
	obj-y += ide-cs-core.o
endif

ifeq ($(CONFIG_BLK_DEV_PLATFORM), y)
	ide-platform-core-y += legacy/ide_platform.o
	obj-y += ide-platform-core.o
endif

61
obj-$(CONFIG_IDE)			+= arm/ mips/