mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
net: rtl8852ce: Don't build driver for Linux v6.10+
The rtl8852ce driver now builds fine for Linux v6.6 to v6.9 and so update the Makefile to only disable building the driver for Linux v6.10+ kernels. Bug 4667769 Change-Id: I0ff0e7a58e27d7252c3d3ae1a7e2878227a51644 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3243757 Reviewed-by: Shobek Attupurath <sattupurath@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
|
||||
LINUX_VERSION_6_6 := $(shell expr 6 \* 256 + 6)
|
||||
LINUX_VERSION_6_10 := $(shell expr 6 \* 256 + 10)
|
||||
|
||||
ifndef CONFIG_TEGRA_SYSTEM_TYPE_ACK
|
||||
ifeq ($(shell expr \( $(VERSION) \) \* 10000 + \( $(PATCHLEVEL) \) \* 100 + \( $(SUBLEVEL) \) \<= 60500), 1)
|
||||
@@ -12,7 +12,7 @@ endif
|
||||
endif
|
||||
|
||||
ifneq ($(NV_OOT_REALTEK_RTL8852CE_SKIP_BUILD),y)
|
||||
ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_6); echo $$?),0)
|
||||
ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_10); echo $$?),0)
|
||||
obj-m += rtl8852ce/
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user