summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/Makefile
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2007-07-22 13:15:55 -0500
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-22 13:23:13 -0500
commitb91421749a1840148d8c81637c03c0ace3f35269 (patch)
treee3e2f59f9a14051c8277793f214db094380d3ebb /drivers/scsi/libsas/Makefile
parent41e1703b9b88cf9b5e91cdd2f7dcded3ec3917cb (diff)
downloadlinux-b91421749a1840148d8c81637c03c0ace3f35269.tar.gz
linux-b91421749a1840148d8c81637c03c0ace3f35269.tar.bz2
linux-b91421749a1840148d8c81637c03c0ace3f35269.zip
[SCSI] libsas: make ATA functions selectable by a config option
Not everyone wants libsas automatically to pull in libata. This patch makes the behaviour configurable, so you can build libsas with or without ATA support. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/libsas/Makefile')
-rw-r--r--drivers/scsi/libsas/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/Makefile b/drivers/scsi/libsas/Makefile
index 6383eb58d890..fd387b91856e 100644
--- a/drivers/scsi/libsas/Makefile
+++ b/drivers/scsi/libsas/Makefile
@@ -33,5 +33,5 @@ libsas-y += sas_init.o \
sas_dump.o \
sas_discover.o \
sas_expander.o \
- sas_scsi_host.o \
- sas_ata.o
+ sas_scsi_host.o
+libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o