Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 2 | # link order is important here |
Bartlomiej Zolnierkiewicz | d0b53f6 | 2008-07-24 22:53:36 +0200 | [diff] [blame] | 3 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | EXTRA_CFLAGS += -Idrivers/ide |
| 6 | |
Bartlomiej Zolnierkiewicz | 05236ea | 2008-10-10 22:39:33 +0200 | [diff] [blame] | 7 | ide-core-y += ide.o ide-ioctls.o ide-io.o ide-iops.o ide-lib.o ide-probe.o \ |
Elias Oltmanns | 4abdc6e | 2008-10-13 21:39:50 +0200 | [diff] [blame^] | 8 | ide-taskfile.o ide-park.o ide-pio-blacklist.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 10 | # core IDE code |
Bartlomiej Zolnierkiewicz | f06ab34 | 2008-07-16 20:33:37 +0200 | [diff] [blame] | 11 | ide-core-$(CONFIG_IDE_TIMINGS) += ide-timings.o |
Bartlomiej Zolnierkiewicz | 594c16d | 2008-07-15 21:21:58 +0200 | [diff] [blame] | 12 | ide-core-$(CONFIG_IDE_ATAPI) += ide-atapi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | ide-core-$(CONFIG_BLK_DEV_IDEPCI) += setup-pci.o |
| 14 | ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o |
Bartlomiej Zolnierkiewicz | 2dbe7e9 | 2008-10-13 21:39:47 +0200 | [diff] [blame] | 15 | ide-core-$(CONFIG_BLK_DEV_IDEDMA_SFF) += ide-dma-sff.o |
Bartlomiej Zolnierkiewicz | ecfd80e | 2007-05-10 00:01:09 +0200 | [diff] [blame] | 16 | ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o |
Hannes Reinecke | e3a59b4 | 2007-02-07 18:19:37 +0100 | [diff] [blame] | 17 | ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Bartlomiej Zolnierkiewicz | 452a8ed | 2008-10-13 21:39:33 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_IDE) += ide-core.o |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 20 | |
| 21 | ifeq ($(CONFIG_IDE_ARM), y) |
| 22 | ide-arm-core-y += arm/ide_arm.o |
| 23 | obj-y += ide-arm-core.o |
| 24 | endif |
| 25 | |
Bartlomiej Zolnierkiewicz | 452a8ed | 2008-10-13 21:39:33 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_IDE) += legacy/ pci/ |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 27 | |
| 28 | obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o |
| 29 | |
| 30 | ifeq ($(CONFIG_BLK_DEV_CMD640), y) |
| 31 | cmd640-core-y += pci/cmd640.o |
| 32 | obj-y += cmd640-core.o |
| 33 | endif |
| 34 | |
Bartlomiej Zolnierkiewicz | 452a8ed | 2008-10-13 21:39:33 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_IDE) += ppc/ |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 36 | obj-$(CONFIG_IDE_H8300) += h8300/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o |
Bartlomiej Zolnierkiewicz | 2625cd5 | 2008-04-18 00:46:21 +0200 | [diff] [blame] | 38 | obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 40 | ide-disk_mod-y += ide-disk.o ide-disk_ioctl.o |
Bartlomiej Zolnierkiewicz | 1780299 | 2008-02-01 23:09:25 +0100 | [diff] [blame] | 41 | ide-cd_mod-y += ide-cd.o ide-cd_ioctl.o ide-cd_verbose.o |
Bartlomiej Zolnierkiewicz | 0127854 | 2008-10-10 22:39:38 +0200 | [diff] [blame] | 42 | ide-floppy_mod-y += ide-floppy.o ide-floppy_ioctl.o |
Bartlomiej Zolnierkiewicz | 972560f | 2008-02-01 23:09:23 +0100 | [diff] [blame] | 43 | |
Bartlomiej Zolnierkiewicz | b9103da | 2008-10-13 21:39:44 +0200 | [diff] [blame] | 44 | ifeq ($(CONFIG_IDE_PROC_FS), y) |
Bartlomiej Zolnierkiewicz | 06b8951 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 45 | ide-disk_mod-y += ide-disk_proc.o |
Bartlomiej Zolnierkiewicz | b9103da | 2008-10-13 21:39:44 +0200 | [diff] [blame] | 46 | ide-floppy_mod-y += ide-floppy_proc.o |
| 47 | endif |
| 48 | |
Bartlomiej Zolnierkiewicz | f879048 | 2008-10-13 21:39:45 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_BLK_DEV_IDEDISK) += ide-disk_mod.o |
Bartlomiej Zolnierkiewicz | 972560f | 2008-02-01 23:09:23 +0100 | [diff] [blame] | 50 | obj-$(CONFIG_BLK_DEV_IDECD) += ide-cd_mod.o |
Bartlomiej Zolnierkiewicz | 0127854 | 2008-10-10 22:39:38 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy_mod.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | |
Bartlomiej Zolnierkiewicz | ade2daf | 2008-01-26 20:13:07 +0100 | [diff] [blame] | 54 | ifeq ($(CONFIG_BLK_DEV_IDECS), y) |
| 55 | ide-cs-core-y += legacy/ide-cs.o |
| 56 | obj-y += ide-cs-core.o |
| 57 | endif |
| 58 | |
| 59 | ifeq ($(CONFIG_BLK_DEV_PLATFORM), y) |
| 60 | ide-platform-core-y += legacy/ide_platform.o |
| 61 | obj-y += ide-platform-core.o |
| 62 | endif |
| 63 | |
Bartlomiej Zolnierkiewicz | 452a8ed | 2008-10-13 21:39:33 +0200 | [diff] [blame] | 64 | obj-$(CONFIG_IDE) += arm/ mips/ |