mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-27 09:35:06 +07:00
669efc76b3
Currently, the rules for configuring search paths in Kbuild have changed, this will lead some erros when compiling hns3 with the following command: make O=DIR M=drivers/net/ethernet/hisilicon/hns3 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c:11:10: fatal error: hnae3.h: No such file or directory This patch fix it by adding $(srctree)/ prefix to the serach paths. Signed-off-by: Xi Wang <wangxi11@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
9 lines
255 B
Makefile
9 lines
255 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Makefile for the HISILICON network device drivers.
|
|
#
|
|
|
|
ccflags-y := -I $(srctree)/drivers/net/ethernet/hisilicon/hns3
|
|
|
|
obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o
|
|
hclgevf-objs = hclgevf_main.o hclgevf_cmd.o hclgevf_mbx.o
|