xref: /linux/drivers/net/ethernet/intel/ice/Makefile (revision 9a4c07aaa0f54dd2ddd9e772be9b9ece27b229f0)
1837f08fdSAnirudh Venkataramanan# SPDX-License-Identifier: GPL-2.0
2837f08fdSAnirudh Venkataramanan# Copyright (c) 2018, Intel Corporation.
3837f08fdSAnirudh Venkataramanan
4837f08fdSAnirudh Venkataramanan#
5837f08fdSAnirudh Venkataramanan# Makefile for the Intel(R) Ethernet Connection E800 Series Linux Driver
6837f08fdSAnirudh Venkataramanan#
7837f08fdSAnirudh Venkataramanan
80545cc86SMichal Swiatkowskisubdir-ccflags-y += -I$(src)
9837f08fdSAnirudh Venkataramananobj-$(CONFIG_ICE) += ice.o
10837f08fdSAnirudh Venkataramanan
117ec59eeaSAnirudh Venkataramananice-y := ice_main.o	\
127ec59eeaSAnirudh Venkataramanan	 ice_controlq.o	\
13f31e4b6fSAnirudh Venkataramanan	 ice_common.o	\
149c20346bSAnirudh Venkataramanan	 ice_nvm.o	\
159c20346bSAnirudh Venkataramanan	 ice_switch.o	\
16cdedef59SAnirudh Venkataramanan	 ice_sched.o	\
17eff380aaSAnirudh Venkataramanan	 ice_base.o	\
1845d3d428SAnirudh Venkataramanan	 ice_lib.o	\
190891d6d4SKrzysztof Kazimierczak	 ice_txrx_lib.o	\
20fcea6f3dSAnirudh Venkataramanan	 ice_txrx.o	\
211b8f15b6SMichal Swiatkowski	 ice_fltr.o	\
2238e97a98SPiotr Raczynski	 ice_irq.o	\
23c31af68aSBrett Creeley	 ice_pf_vsi_vlan_ops.o \
24bc42afa9SBrett Creeley	 ice_vsi_vlan_ops.o \
25bc42afa9SBrett Creeley	 ice_vsi_vlan_lib.o \
26148beb61SHenry Tieman	 ice_fdir.o	\
27148beb61SHenry Tieman	 ice_ethtool_fdir.o \
28a1ffafb0SBrett Creeley	 ice_vlan_mode.o \
29c7648810STony Nguyen	 ice_flex_pipe.o \
30c90ed40cSTony Nguyen	 ice_flow.o	\
3186ff3d79SJunfeng Guo	 ice_parser.o    \
32*9a4c07aaSJunfeng Guo	 ice_parser_rt.o \
33d25a0fc4SDave Ertman	 ice_idc.o	\
340545cc86SMichal Swiatkowski	 devlink/devlink.o	\
354ebc5f25SPiotr Raczynski	 devlink/devlink_port.o \
362ffd87d3SSergey Temerkhanov	 ice_ddp.o	\
37d69ea414SJacob Keller	 ice_fw_update.o \
38df006dd4SDave Ertman	 ice_lag.o	\
3937165e3fSMichal Swiatkowski	 ice_ethtool.o  \
400d08a441SKiran Patil	 ice_repr.o	\
4196a9a934SPaul M Stillwell Jr	 ice_tc_lib.o	\
4296a9a934SPaul M Stillwell Jr	 ice_fwlog.o	\
430e2bddf9SMichal Schmidt	 ice_debugfs.o  \
440e2bddf9SMichal Schmidt	 ice_adapter.o
45c31af68aSBrett Creeleyice-$(CONFIG_PCI_IOV) +=	\
46109aba47SJacob Keller	ice_sriov.o		\
47bf93bf79SJacob Keller	ice_virtchnl.o		\
48c31af68aSBrett Creeley	ice_virtchnl_allowlist.o \
49c31af68aSBrett Creeley	ice_virtchnl_fdir.o	\
50d775155aSJacob Keller	ice_vf_mbx.o		\
51c31af68aSBrett Creeley	ice_vf_vsi_vlan_ops.o	\
52109aba47SJacob Keller	ice_vf_lib.o
5391e43ca0SJacob Kellerice-$(CONFIG_PTP_1588_CLOCK) += ice_ptp.o ice_ptp_hw.o ice_dpll.o
54b94b013eSDave Ertmanice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o
5528bf2672SBrett Creeleyice-$(CONFIG_RFS_ACCEL) += ice_arfs.o
562d4238f5SKrzysztof Kazimierczakice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o
57f6e8fb55SWojciech Drewekice-$(CONFIG_ICE_SWITCHDEV) += ice_eswitch.o ice_eswitch_br.o
58cf871006SJacob Kellerice-$(CONFIG_GNSS) += ice_gnss.o
594da71a77SKonrad Knitterice-$(CONFIG_ICE_HWMON) += ice_hwmon.o
60