1 # SPDX-License-Identifier: GPL-2.0+
3 # Makefile for the HISILICON network device drivers.
6 ccflags-y += -I$(srctree)/$(src)
8 obj-$(CONFIG_HNS3) += hns3pf/
9 obj-$(CONFIG_HNS3) += hns3vf/
11 obj-$(CONFIG_HNS3) += hnae3.o
13 obj-$(CONFIG_HNS3_ENET) += hns3.o
14 hns3-objs = hns3_enet.o hns3_ethtool.o hns3_debugfs.o
16 hns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o