diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-14 14:12:57 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-14 14:12:57 -0400 |
commit | 370ba07eb8324569636bacb47abba79587640d05 (patch) | |
tree | 6d0b8ccf5d0f9acc978131490322bd2ce0028090 /drivers | |
parent | 8ad92ba7152f40cc31f6f15500c01e4eb39cfed1 (diff) |
libata: Separate libata.ko build from individual driver builds
Since some SAS drivers need libata, we can no longer use the rule that
auto-builds libata.ko as needed. We must instead depend on Kconfig to
determine when to build the library kernel module.
Noticed by Brian King @ IBM.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/Makefile | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile index b19a773cef71..c17ae9c8b91d 100644 --- a/drivers/ata/Makefile +++ b/drivers/ata/Makefile | |||
@@ -1,19 +1,21 @@ | |||
1 | 1 | ||
2 | obj-$(CONFIG_SATA_AHCI) += libata.o ahci.o | 2 | obj-$(CONFIG_ATA) += libata.o |
3 | obj-$(CONFIG_SATA_SVW) += libata.o sata_svw.o | 3 | |
4 | obj-$(CONFIG_ATA_PIIX) += libata.o ata_piix.o | 4 | obj-$(CONFIG_SATA_AHCI) += ahci.o |
5 | obj-$(CONFIG_SATA_PROMISE) += libata.o sata_promise.o | 5 | obj-$(CONFIG_SATA_SVW) += sata_svw.o |
6 | obj-$(CONFIG_SATA_QSTOR) += libata.o sata_qstor.o | 6 | obj-$(CONFIG_ATA_PIIX) += ata_piix.o |
7 | obj-$(CONFIG_SATA_SIL) += libata.o sata_sil.o | 7 | obj-$(CONFIG_SATA_PROMISE) += sata_promise.o |
8 | obj-$(CONFIG_SATA_SIL24) += libata.o sata_sil24.o | 8 | obj-$(CONFIG_SATA_QSTOR) += sata_qstor.o |
9 | obj-$(CONFIG_SATA_VIA) += libata.o sata_via.o | 9 | obj-$(CONFIG_SATA_SIL) += sata_sil.o |
10 | obj-$(CONFIG_SATA_VITESSE) += libata.o sata_vsc.o | 10 | obj-$(CONFIG_SATA_SIL24) += sata_sil24.o |
11 | obj-$(CONFIG_SATA_SIS) += libata.o sata_sis.o | 11 | obj-$(CONFIG_SATA_VIA) += sata_via.o |
12 | obj-$(CONFIG_SATA_SX4) += libata.o sata_sx4.o | 12 | obj-$(CONFIG_SATA_VITESSE) += sata_vsc.o |
13 | obj-$(CONFIG_SATA_NV) += libata.o sata_nv.o | 13 | obj-$(CONFIG_SATA_SIS) += sata_sis.o |
14 | obj-$(CONFIG_SATA_ULI) += libata.o sata_uli.o | 14 | obj-$(CONFIG_SATA_SX4) += sata_sx4.o |
15 | obj-$(CONFIG_SATA_MV) += libata.o sata_mv.o | 15 | obj-$(CONFIG_SATA_NV) += sata_nv.o |
16 | obj-$(CONFIG_PDC_ADMA) += libata.o pdc_adma.o | 16 | obj-$(CONFIG_SATA_ULI) += sata_uli.o |
17 | obj-$(CONFIG_SATA_MV) += sata_mv.o | ||
18 | obj-$(CONFIG_PDC_ADMA) += pdc_adma.o | ||
17 | 19 | ||
18 | libata-objs := libata-core.o libata-scsi.o libata-bmdma.o libata-eh.o | 20 | libata-objs := libata-core.o libata-scsi.o libata-bmdma.o libata-eh.o |
19 | 21 | ||