Files
linux-nv-oot/drivers/net/ethernet/microchip/Makefile
Jeremy Alves 0df8edb69b Lan743/6.1 vanilla driver of Lan7431 from upstream
Adding 6.1.9 unmodified Lan7431 driver to nvidia-oot

This is the unmodified driver from
  K6.1.9
without our NVIDIA specific changes

Bug 3978997

Signed-off-by: Jeremy Alves <jalves@nvidia.com>
Change-Id: Iaf453a1b9dc82355f8c7936823c5c90633fe24d9
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2934591
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-07-15 08:15:52 -07:00

21 lines
566 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