1e963cb78SSalil Mehta# SPDX-License-Identifier: GPL-2.0+ 215e8e5ffSSalil# 315e8e5ffSSalil# Makefile for the HISILICON network device drivers. 415e8e5ffSSalil# 515e8e5ffSSalil 6698a8954SYunsheng Linccflags-y += -I$(srctree)/$(src) 75f20be4eSJie Wangccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3pf 85f20be4eSJie Wangccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3vf 90a7b6d22SJie Wangccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3_common 1015e8e5ffSSalil 1115e8e5ffSSalilobj-$(CONFIG_HNS3) += hnae3.o 12424eb834SSalil Mehta 13424eb834SSalil Mehtaobj-$(CONFIG_HNS3_ENET) += hns3.o 14b2292360Sliuzhongzhuhns3-objs = hns3_enet.o hns3_ethtool.o hns3_debugfs.o 15424eb834SSalil Mehta 16424eb834SSalil Mehtahns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o 175f20be4eSJie Wang 185f20be4eSJie Wangobj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o 19eaa5607dSJie Wang 20*939ccd10SJijie Shaohclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o hns3vf/hclgevf_regs.o \ 21287db5c4SJie Wang hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o 225f20be4eSJie Wang 235f20be4eSJie Wangobj-$(CONFIG_HNS3_HCLGE) += hclge.o 24*939ccd10SJijie Shaohclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o hns3pf/hclge_regs.o \ 25eaa5607dSJie Wang hns3pf/hclge_mbx.o hns3pf/hclge_err.o hns3pf/hclge_debugfs.o hns3pf/hclge_ptp.o hns3pf/hclge_devlink.o \ 26287db5c4SJie Wang hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o 27287db5c4SJie Wang 285f20be4eSJie Wang 295f20be4eSJie Wanghclge-$(CONFIG_HNS3_DCB) += hns3pf/hclge_dcb.o 30