xref: /openbmc/linux/drivers/scsi/libsas/Makefile (revision b9142174)
12908d778SJames Bottomley#
22908d778SJames Bottomley# Kernel Makefile for the libsas helpers
32908d778SJames Bottomley#
42908d778SJames Bottomley# Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
52908d778SJames Bottomley# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
62908d778SJames Bottomley#
72908d778SJames Bottomley# This file is licensed under GPLv2.
82908d778SJames Bottomley#
92908d778SJames Bottomley# This program is free software; you can redistribute it and/or
102908d778SJames Bottomley# modify it under the terms of the GNU General Public License as
112908d778SJames Bottomley# published by the Free Software Foundation; version 2 of the
122908d778SJames Bottomley# License.
132908d778SJames Bottomley#
142908d778SJames Bottomley# This program is distributed in the hope that it will be useful,
152908d778SJames Bottomley# but WITHOUT ANY WARRANTY; without even the implied warranty of
162908d778SJames Bottomley# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
172908d778SJames Bottomley# General Public License for more details.
182908d778SJames Bottomley#
192908d778SJames Bottomley# You should have received a copy of the GNU General Public License
202908d778SJames Bottomley# along with this program; if not, write to the Free Software
212908d778SJames Bottomley# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
222908d778SJames Bottomley# USA
232908d778SJames Bottomley
242908d778SJames Bottomleyifeq ($(CONFIG_SCSI_SAS_LIBSAS_DEBUG),y)
252908d778SJames Bottomley	EXTRA_CFLAGS += -DSAS_DEBUG
262908d778SJames Bottomleyendif
272908d778SJames Bottomley
282908d778SJames Bottomleyobj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
292908d778SJames Bottomleylibsas-y +=  sas_init.o     \
302908d778SJames Bottomley		sas_phy.o      \
312908d778SJames Bottomley		sas_port.o     \
322908d778SJames Bottomley		sas_event.o    \
332908d778SJames Bottomley		sas_dump.o     \
342908d778SJames Bottomley		sas_discover.o \
352908d778SJames Bottomley		sas_expander.o \
36b9142174SJames Bottomley		sas_scsi_host.o
37b9142174SJames Bottomleylibsas-$(CONFIG_SCSI_SAS_ATA) +=	sas_ata.o
38