Files
linux-nv-oot/drivers/net/ethernet/Makefile
Brad Griffis e9cdb435a3 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>
2024-05-01 09:55:23 -07:00

13 lines
285 B
Makefile

# 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