1e963cb78SSalil Mehta# SPDX-License-Identifier: GPL-2.0+ 215e8e5ffSSalil# 315e8e5ffSSalil# Makefile for the HISILICON network device drivers. 415e8e5ffSSalil# 515e8e5ffSSalil 6b1992c37SMasahiro Yamadaccflags-y += -I$(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 18*e3bbb994SArnd Bergmannobj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o hclge-common.o 19eaa5607dSJie Wang 20*e3bbb994SArnd Bergmannhclge-common-objs += hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o 215f20be4eSJie Wang 22*e3bbb994SArnd Bergmannhclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o hns3vf/hclgevf_regs.o 23*e3bbb994SArnd Bergmann 24*e3bbb994SArnd Bergmannobj-$(CONFIG_HNS3_HCLGE) += hclge.o hclge-common.o 25939ccd10SJijie Shaohclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o hns3pf/hclge_regs.o \ 26eaa5607dSJie Wang hns3pf/hclge_mbx.o hns3pf/hclge_err.o hns3pf/hclge_debugfs.o hns3pf/hclge_ptp.o hns3pf/hclge_devlink.o \ 275f20be4eSJie Wang 285f20be4eSJie Wanghclge-$(CONFIG_HNS3_DCB) += hns3pf/hclge_dcb.o 29