mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The Tegra264 PCIe drivers don't build for kernels that don't have: 1. The structure mrq_pcie_request_req defined 2. The function pci_epc_deinit_notify() present This is currently being handling by building a dummy driver for kernels that don't have these. To simplify this, use conftest to detect if the above are present and modify the Tegra264 PCIe driver accordingly if they are not present. By using conftest we can remove the Makefile variable 'NV_OOT_PCIE_T264_SOC_SKIP_BUILD' and ccflag 'DNV_CONFIG_PCIE_TEGRA_DMA_DISABLE'. Finally, the PCIe drivers are always built as modules so simplify the Makefile and remove the usage of 'CONFIG_TEGRA_OOT_MODULE'. Bug 4911768 Change-Id: Id282497b8607a732b5e6c90e1e7c1436589a0b5f Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3245592 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
11 lines
437 B
Makefile
11 lines
437 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
# Kernel RHIVOS-1 specific environment variables to configure the OOT modules
|
|
|
|
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_REALTEK_RTL8852CE_SKIP_BUILD=y
|
|
export NV_OOT_REALTEK_BTUSB_SKIP_BUILD=y
|