[PATCH 1/1] libata: Build fix for drivers/scsi users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When moving libata to drivers/ata, SCSI/SAS drivers were
broken. Alter the build process for libata to be done in
a similar manner to how scsi is done today.

Signed-off-by: Brian King <brking@xxxxxxxxxx>
---

 libata-dev-bjking1/drivers/ata/Makefile |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff -puN drivers/ata/Makefile~libata_build_fix drivers/ata/Makefile
--- libata-dev/drivers/ata/Makefile~libata_build_fix	2006-08-10 09:12:15.000000000 -0500
+++ libata-dev-bjking1/drivers/ata/Makefile	2006-08-10 09:12:15.000000000 -0500
@@ -1,19 +1,20 @@
+obj-$(CONFIG_ATA)		+= libata.o
 
-obj-$(CONFIG_SCSI_SATA_AHCI)	+= libata.o ahci.o
-obj-$(CONFIG_SCSI_SATA_SVW)	+= libata.o sata_svw.o
-obj-$(CONFIG_SCSI_ATA_PIIX)	+= libata.o ata_piix.o
-obj-$(CONFIG_SCSI_SATA_PROMISE)	+= libata.o sata_promise.o
-obj-$(CONFIG_SCSI_SATA_QSTOR)	+= libata.o sata_qstor.o
-obj-$(CONFIG_SCSI_SATA_SIL)	+= libata.o sata_sil.o
-obj-$(CONFIG_SCSI_SATA_SIL24)	+= libata.o sata_sil24.o
-obj-$(CONFIG_SCSI_SATA_VIA)	+= libata.o sata_via.o
-obj-$(CONFIG_SCSI_SATA_VITESSE)	+= libata.o sata_vsc.o
-obj-$(CONFIG_SCSI_SATA_SIS)	+= libata.o sata_sis.o
-obj-$(CONFIG_SCSI_SATA_SX4)	+= libata.o sata_sx4.o
-obj-$(CONFIG_SCSI_SATA_NV)	+= libata.o sata_nv.o
-obj-$(CONFIG_SCSI_SATA_ULI)	+= libata.o sata_uli.o
-obj-$(CONFIG_SCSI_SATA_MV)	+= libata.o sata_mv.o
-obj-$(CONFIG_SCSI_PDC_ADMA)	+= libata.o pdc_adma.o
+obj-$(CONFIG_SCSI_SATA_AHCI)	+= ahci.o
+obj-$(CONFIG_SCSI_SATA_SVW)	+= sata_svw.o
+obj-$(CONFIG_SCSI_ATA_PIIX)	+= ata_piix.o
+obj-$(CONFIG_SCSI_SATA_PROMISE)	+= sata_promise.o
+obj-$(CONFIG_SCSI_SATA_QSTOR)	+= sata_qstor.o
+obj-$(CONFIG_SCSI_SATA_SIL)	+= sata_sil.o
+obj-$(CONFIG_SCSI_SATA_SIL24)	+= sata_sil24.o
+obj-$(CONFIG_SCSI_SATA_VIA)	+= sata_via.o
+obj-$(CONFIG_SCSI_SATA_VITESSE)	+= sata_vsc.o
+obj-$(CONFIG_SCSI_SATA_SIS)	+= sata_sis.o
+obj-$(CONFIG_SCSI_SATA_SX4)	+= sata_sx4.o
+obj-$(CONFIG_SCSI_SATA_NV)	+= sata_nv.o
+obj-$(CONFIG_SCSI_SATA_ULI)	+= sata_uli.o
+obj-$(CONFIG_SCSI_SATA_MV)	+= sata_mv.o
+obj-$(CONFIG_SCSI_PDC_ADMA)	+= pdc_adma.o
 
 libata-objs	:= libata-core.o libata-scsi.o libata-bmdma.o libata-eh.o
 
_
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux