From aa31dfba17317250721ccf6517d2f331e25dc6ac Mon Sep 17 00:00:00 2001 From: Nagarjuna Kristam Date: Wed, 8 Jul 2020 11:06:40 +0530 Subject: [PATCH] nvethernet: Update Makefile Add eqos_common.c to source and common include path to include section of the Makefile. Bug 200630996 Change-Id: I7fc1fd798e91cb125d6181d72925a73804c9fa7a Signed-off-by: Nagarjuna Kristam Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2372241 (cherry picked from commit 643cec090558772cd5acfc8245b790f61b43ad97) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2372144 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gaurav Asati Reviewed-by: Srinivas Ramachandran Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/net/ethernet/nvidia/nvethernet/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/nvidia/nvethernet/Makefile b/drivers/net/ethernet/nvidia/nvethernet/Makefile index e6876e46..cee61472 100644 --- a/drivers/net/ethernet/nvidia/nvethernet/Makefile +++ b/drivers/net/ethernet/nvidia/nvethernet/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. +# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms and conditions of the GNU General Public License, @@ -18,7 +18,8 @@ OSI_DMA := nvethernetrm/osi/dma obj-$(CONFIG_NVETHERNET) += nvethernet.o -EXTRA_CFLAGS += -DTHERMAL_CAL -I$(srctree.nvidia)/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm/include +ccflags-y += -DTHERMAL_CAL -I$(srctree.nvidia)/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm/include \ + -I$(srctree.nvidia)/drivers/net/ethernet/nvidia/nvethernet/nvethernetrm/osi/common/include nvethernet-objs:= ether_linux.o \ osd.o \ @@ -28,6 +29,7 @@ nvethernet-objs:= ether_linux.o \ ptp.o \ $(OSI_CORE)/osi_core.o \ $(OSI_COMMON)/osi_common.o \ + $(OSI_COMMON)/eqos_common.o \ $(OSI_DMA)/osi_dma.o \ $(OSI_DMA)/osi_dma_txrx.o \ $(OSI_CORE)/eqos_core.o \