Files
Laxman Dewangan b275ffc1ef ufs: tegra: Create provisioned and normal version of module
Create the two loadable module for ufs tegra, one without
provisioning and other with provisioning.

This will help to avoid need of the CONFIG variable and
usecase to use the module per their requirements.

Change-Id: I2c9d6e9680b9b2007fcccfa91002154ed29a6928
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2869279
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-03-13 05:01:24 -07:00

13 lines
382 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
ufs-tegra-objs := ufs-tegra-common.o
ufs-tegra-objs += ufs-provision-dummy.o
obj-m += ufs-tegra.o
ifdef CONFIG_SCSI_UFSHCD_QUERY_EXPORT
ufs-tegra-provision-objs := ufs-tegra-common.o
ufs-tegra-provision-objs += ufs-provision.o
obj-m += ufs-tegra-provision.o
endif