xref: /openbmc/linux/drivers/scsi/libsas/Makefile (revision 9958d30f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Kernel Makefile for the libsas helpers
4#
5# Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
6# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
7#
8
9obj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
10libsas-y +=  sas_init.o     \
11		sas_phy.o      \
12		sas_port.o     \
13		sas_event.o    \
14		sas_discover.o \
15		sas_expander.o \
16		sas_scsi_host.o \
17		sas_task.o
18libsas-$(CONFIG_SCSI_SAS_ATA) +=	sas_ata.o
19libsas-$(CONFIG_SCSI_SAS_HOST_SMP) +=	sas_host_smp.o
20
21ccflags-y := -DDEBUG -I$(srctree)/drivers/scsi
22