mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The RealTek drivers do not build against all Linux distributions because some Linux distributions have back-ported upstream changes and so the KERNEL_VERSION checks in the driver do not work for these distributions. Add compilation flags for these drivers so that we can skip the building of these drivers for certain Linux distributions. Please note that the RealTek drivers build fine against Linux v5.14 and so we should not prevent these driver being built against all Linux v5.14 kernels. Bug 4729493 Change-Id: I004d61a884c6f01b4629de56ecc17b55d4fa2cd1 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3171274 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
11 lines
275 B
Makefile
11 lines
275 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
ifneq ($(NV_OOT_REALTEK_R8168_SKIP_BUILD),y)
|
|
obj-m += r8168/
|
|
endif
|
|
|
|
ifneq ($(NV_OOT_REALTEK_R8126_SKIP_BUILD),y)
|
|
obj-m += r8126/
|
|
endif
|