mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:36:47 +07:00
b91421749a
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>
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
#
|
|
# Kernel Makefile for the libsas helpers
|
|
#
|
|
# Copyright (C) 2005 Adaptec, Inc. All rights reserved.
|
|
# Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
|
|
#
|
|
# This file is licensed under GPLv2.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License as
|
|
# published by the Free Software Foundation; version 2 of the
|
|
# License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
# USA
|
|
|
|
ifeq ($(CONFIG_SCSI_SAS_LIBSAS_DEBUG),y)
|
|
EXTRA_CFLAGS += -DSAS_DEBUG
|
|
endif
|
|
|
|
obj-$(CONFIG_SCSI_SAS_LIBSAS) += libsas.o
|
|
libsas-y += sas_init.o \
|
|
sas_phy.o \
|
|
sas_port.o \
|
|
sas_event.o \
|
|
sas_dump.o \
|
|
sas_discover.o \
|
|
sas_expander.o \
|
|
sas_scsi_host.o
|
|
libsas-$(CONFIG_SCSI_SAS_ATA) += sas_ata.o
|