xref: /linux/drivers/net/ethernet/intel/i40e/Makefile (revision e9f0878c4b2004ac19581274c1ae4c61ae3ca70e)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright(c) 2013 - 2018 Intel Corporation.
3
4#
5# Makefile for the Intel(R) Ethernet Connection XL710 (i40e.ko) driver
6#
7
8ccflags-y += -I$(src)
9subdir-ccflags-y += -I$(src)
10
11obj-$(CONFIG_I40E) += i40e.o
12
13i40e-objs := i40e_main.o \
14	i40e_ethtool.o	\
15	i40e_adminq.o	\
16	i40e_common.o	\
17	i40e_hmc.o	\
18	i40e_lan_hmc.o	\
19	i40e_nvm.o	\
20	i40e_debugfs.o	\
21	i40e_diag.o	\
22	i40e_txrx.o	\
23	i40e_ptp.o	\
24	i40e_client.o   \
25	i40e_virtchnl_pf.o
26
27i40e-$(CONFIG_I40E_DCB) += i40e_dcb.o i40e_dcb_nl.o
28