| 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 <[email protected]> |
| 7 | # |
| 8 | |
| 9 | obj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o |
| 10 | libsas-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 |
| 18 | libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o |
| 19 | libsas-$(CONFIG_SCSI_SAS_HOST_SMP) += sas_host_smp.o |
| 20 | |
| 21 | ccflags-y := -DDEBUG -I$(srctree)/drivers/scsi |