mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
Skip T264 PCIE drivers for the few kernels like jammy-src, rhivos-1 and stable. Bug 4911768 Change-Id: I198fb279712594a69950b72d6b8f14a9ef151e5f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
24 lines
572 B
Makefile
24 lines
572 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Set config when build as OOT module.
|
|
ifneq ($(NV_OOT_PCIE_T264_SOC_SKIP_BUILD),y)
|
|
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
|
|
else
|
|
obj-m += pcie-tegra264.o
|
|
pcie-tegra264-objs := pcie-tegra-soc-dummy.o
|
|
endif
|