From e963cb789a29b890678b58ef7da5d7c497510b7e Mon Sep 17 00:00:00 2001 From: Salil Mehta Date: Thu, 14 Dec 2017 18:03:05 +0000 Subject: net: hns3: Add HNS3 VF driver to kernel build framework This patch introduces the new Makefiles and updates existing Makefiles required to build the HNS3 Virtual Function driver. This also updates the Kconfig for introduction of new menuconfig entries related to VF driver. Signed-off-by: Salil Mehta Signed-off-by: lipeng Signed-off-by: David S. Miller --- drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf') diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile b/drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile new file mode 100644 index 000000000000..fb93bbd35845 --- /dev/null +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/Makefile @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Makefile for the HISILICON network device drivers. +# + +ccflags-y := -Idrivers/net/ethernet/hisilicon/hns3 + +obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o +hclgevf-objs = hclgevf_main.o hclgevf_cmd.o hclgevf_mbx.o \ No newline at end of file -- cgit v1.2.3