mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
Tegra DMA driver functions are defined in nvidia-t264 repo and these functions are used in nvidia-oot repo. Prototypes of these functions are defined in nvidia-oot repo header file tegra-pcie-dma.h. Enable CONFIG_PCIE_TEGRA_DMA flag to expose the function prototypes to the drivers in nvidia-oot repo. This functions should be exposed only if nvidia-t264 drivers are included in kernel compilation. Bug 4712065 Change-Id: I74bb98bd9efbf2e36ed05aae866760a92a4ee7dd Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-t264/+/3164961 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com>
19 lines
446 B
Makefile
19 lines
446 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Set config when build as OOT module.
|
|
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
|
CONFIG_PCIE_TEGRA264 := m
|
|
CONFIG_PCIE_TEGRA264_EP := m
|
|
endif
|
|
|
|
obj-$(CONFIG_PCIE_TEGRA264) += pcie-tegra264.o
|
|
obj-$(CONFIG_PCIE_TEGRA264_EP) += pcie-tegra264-ep.o
|
|
|
|
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
|
obj-m += tegra-pcie-dma-lib.o
|
|
|
|
tegra-pcie-dma-lib-objs:= tegra-pcie-dma.o \
|
|
tegra234-pcie-edma.o \
|
|
tegra264-pcie-xdma.o
|
|
endif
|