mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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>
This commit is contained in:
committed by
Jon Hunter
parent
1e0bef1f51
commit
17ef98bafa
6
configs/Makefile.config.jammy-src
Normal file
6
configs/Makefile.config.jammy-src
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
# Kernel jammy-src specific environment variables to configure the OOT modules
|
||||
|
||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||
@@ -6,4 +6,4 @@
|
||||
export NV_OOT_REALTEK_R8126_SKIP_BUILD=y
|
||||
export NV_OOT_REALTEK_R8168_SKIP_BUILD=y
|
||||
export NV_OOT_REALTEK_RTL8822CE_SKIP_BUILD=y
|
||||
|
||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||
|
||||
6
configs/Makefile.config.stable
Normal file
6
configs/Makefile.config.stable
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
# Kernel stable specific environment variables to configure the OOT modules
|
||||
|
||||
export NV_OOT_PCIE_T264_SOC_SKIP_BUILD=y
|
||||
@@ -1,6 +1,7 @@
|
||||
# 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
|
||||
@@ -16,3 +17,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user