Debian Codegraph @

drivers/net/ethernet/hisilicon/hns3/Makefile

raw
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # Makefile for the HISILICON network device drivers.
4 #
5
6 ccflags-y += -I$(src)
7 ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3pf
8 ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3vf
9 ccflags-y += -I$(srctree)/drivers/net/ethernet/hisilicon/hns3/hns3_common
10
11 obj-$(CONFIG_HNS3) += hnae3.o
12
13 obj-$(CONFIG_HNS3_ENET) += hns3.o
14 hns3-objs = hns3_enet.o hns3_ethtool.o hns3_debugfs.o
15
16 hns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o
17
18 obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o hclge-common.o
19
20 hclge-common-objs += hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o
21
22 hclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o hns3vf/hclgevf_regs.o
23
24 obj-$(CONFIG_HNS3_HCLGE) += hclge.o hclge-common.o
25 hclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o hns3pf/hclge_regs.o \
26 hns3pf/hclge_mbx.o hns3pf/hclge_err.o hns3pf/hclge_debugfs.o hns3pf/hclge_ptp.o hns3pf/hclge_devlink.o \
27
28 hclge-$(CONFIG_HNS3_DCB) += hns3pf/hclge_dcb.o