net: ethernet: build realtek ethernet driver only for k5.15

Realtek does not support latest kernels with this driver.  Build it
only for k5.15.

Bug 4471899

Change-Id: Ic60b34f2c3d34d5642d8b568aae61339f6f15349
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3126899
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Brad Griffis
2024-04-26 15:44:45 +00:00
committed by mobile promotions
parent ac51641cf1
commit e9cdb435a3

View File

@@ -1,10 +1,12 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only
obj-m += nvidia/
ifdef CONFIG_PCI
obj-m += marvell/
obj-m += microchip/
ifeq ($(VERSION).$(PATCHLEVEL),5.15)
obj-m += realtek/
endif
endif