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 8subdir-ccflags-y += -I$(src) 9obj-$(CONFIG_ICE) += ice.o 10 11ice-y := ice_main.o \ 12 ice_controlq.o \ 13 ice_common.o \ 14 ice_nvm.o \ 15 ice_switch.o \ 16 ice_sched.o \ 17 ice_base.o \ 18 ice_lib.o \ 19 ice_txrx_lib.o \ 20 ice_txrx.o \ 21 ice_fltr.o \ 22 ice_irq.o \ 23 ice_pf_vsi_vlan_ops.o \ 24 ice_vsi_vlan_ops.o \ 25 ice_vsi_vlan_lib.o \ 26 ice_fdir.o \ 27 ice_ethtool_fdir.o \ 28 ice_vlan_mode.o \ 29 ice_flex_pipe.o \ 30 ice_flow.o \ 31 ice_idc.o \ 32 devlink/devlink.o \ 33 devlink/devlink_port.o \ 34 ice_ddp.o \ 35 ice_fw_update.o \ 36 ice_lag.o \ 37 ice_ethtool.o \ 38 ice_repr.o \ 39 ice_tc_lib.o \ 40 ice_fwlog.o \ 41 ice_debugfs.o \ 42 ice_adapter.o 43ice-$(CONFIG_PCI_IOV) += \ 44 ice_sriov.o \ 45 ice_virtchnl.o \ 46 ice_virtchnl_allowlist.o \ 47 ice_virtchnl_fdir.o \ 48 ice_vf_mbx.o \ 49 ice_vf_vsi_vlan_ops.o \ 50 ice_vf_lib.o 51ice-$(CONFIG_PTP_1588_CLOCK) += ice_ptp.o ice_ptp_hw.o ice_dpll.o 52ice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o 53ice-$(CONFIG_RFS_ACCEL) += ice_arfs.o 54ice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o 55ice-$(CONFIG_ICE_SWITCHDEV) += ice_eswitch.o ice_eswitch_br.o 56ice-$(CONFIG_GNSS) += ice_gnss.o 57ice-$(CONFIG_ICE_HWMON) += ice_hwmon.o 58