mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
marvell:Add compilation support to driver
- Renamed the directory to oak - Updated the make files to compile the source - Removed unused script ESDP-16549 Bug 3882239 Bug 3824037 Change-Id: I1dee5def85b6e25f88dff999f1051bfe62d5613b Signed-off-by: Sheetal Tigadoli <stigadoli@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2856988 Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
afd05b80bd
commit
748fa9c699
@@ -2,3 +2,4 @@
|
||||
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += nvidia/
|
||||
obj-m += marvell/
|
||||
|
||||
6
drivers/net/ethernet/marvell/Makefile
Normal file
6
drivers/net/ethernet/marvell/Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Makefile for the Marvell device drivers.
|
||||
#
|
||||
|
||||
obj-m += oak/
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
|
||||
KDIR=/lib/modules/5.4.2/build
|
||||
|
||||
CONFIG_OAK_DEBUG=y
|
||||
export CONFIG_OAK_DEBUG
|
||||
|
||||
make -C $KDIR M=`pwd` modules
|
||||
|
||||
@@ -23,10 +23,6 @@ EXTRA_CFLAGS += -DKERNEL -Werror
|
||||
|
||||
oak_pci-objs := oak.o oak_net.o oak_irq.o oak_ethtool.o oak_unimac.o oak_debug.o oak_chksum.o oak_dpm.o
|
||||
|
||||
ifeq ($(CONFIG_OAK_DEBUG),y)
|
||||
EXTRA_CFLAGS += -DDEBUG -DSIMULATION -DUNIMAC_MQ_RR
|
||||
endif
|
||||
|
||||
all:
|
||||
make W=1 -C /lib/modules/`uname -r`/build M=`pwd` modules
|
||||
|
||||
Reference in New Issue
Block a user