Files
linux-nv-oot/drivers/net/ethernet/microchip/Makefile
Jeremy Alves c00985b068 Lan7431 - vanilla driver of Lan7431 from upstream
Adding unmodified Lan7431 driver to nvidia-oot

This is the unmodified driver from
  K5.15.110
  from commit cd612ec8f71740b0fc9f47d3356b23561b5761dc

For future kernels we'll need to add the driver sources
from the respective kernel

Bug 3956901

Change-Id: I376c63ceeb6aeab9ce5d17dcd3c09401217c576a
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2920947
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Jeremy Alves <jalves@nvidia.com>
Reviewed-by: Jeremy Alves <jalves@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
2023-06-22 11:10:09 -07:00

21 lines
571 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for the Microchip network device drivers.
#
ifeq ($(VERSION), 5)
ifeq ($(PATCHLEVEL), 15)
obj-m += lan743x.o
#include the source files from the kernel directory, for easier packaging
lan743x-objs += 5.15/lan743x_main.o 5.15/lan743x_ethtool.o 5.15/lan743x_ptp.o
endif #PATCHLEVEL
#when adding 6.1, uncomment below
#else ifeq ($(VERSION), 6)
#ifeq ($(PATCHLEVEL), 1)
#obj-m += lan743x.o
#lan743x-objs += 6.1/lan743x_main.o 6.1/lan743x_ethtool.o 6.1/lan743x_ptp.o
#endif #PATCHLEVEL
endif #VERSION