Files
linux-nv-oot/drivers/net/wireless/realtek/Makefile
Laxman Dewangan b02764ce1c net: Disable realtek driver to compile for K5.14
Disabling build of ethernet and wireless realtek driver
for building with k5.14 kernel due to build issue.

Drivers are r8126 and rtl8822ce.

Bug 4729493

Change-Id: I016484a81c9a28a460a8592e80e123a7ca11222e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3166764
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-07-03 07:47:35 -07:00

16 lines
514 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022-2024, NVIDIA CORPORATION. All rights reserved.
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
LINUX_VERSION_5_14 := $(shell expr 5 \* 256 + 14)
# Do not build driver for K5.14
ifneq ($(shell test $(LINUX_VERSION) -eq $(LINUX_VERSION_5_14); echo $$?),0)
ifndef CONFIG_TEGRA_SYSTEM_TYPE_ACK
ifeq ($(shell expr \( $(VERSION) \) \* 10000 + \( $(PATCHLEVEL) \) \* 100 + \( $(SUBLEVEL) \) \<= 60500), 1)
obj-m += rtl8822ce/
endif
endif
endif