Files
linux-nv-oot/drivers/pci/controller/private-soc/Makefile
Laxman Dewangan 17ef98bafa pcie: T264: Skip build of T264 specific PCIE driver for few kernel
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>
2025-07-24 10:19:08 +00:00

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