1# SPDX-License-Identifier: GPL-2.0
2# Copyright (c) 2018, Intel Corporation.
3
4#
5# Makefile for the Intel(R) Ethernet Connection E800 Series Linux Driver
6#
7
8obj-$(CONFIG_ICE) += ice.o
9
10ice-y := ice_main.o	\
11	 ice_controlq.o	\
12	 ice_common.o	\
13	 ice_nvm.o	\
14	 ice_switch.o	\
15	 ice_sched.o	\
16	 ice_base.o	\
17	 ice_lib.o	\
18	 ice_txrx_lib.o	\
19	 ice_txrx.o	\
20	 ice_flex_pipe.o \
21	 ice_flow.o	\
22	 ice_devlink.o	\
23	 ice_ethtool.o
24ice-$(CONFIG_PCI_IOV) += ice_virtchnl_pf.o ice_sriov.o
25ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o
26ice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o
27