xref: /linux/drivers/net/ethernet/intel/ice/Makefile (revision 9410645520e9b820069761f3450ef6661418e279)
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    \
329a4c07aaSJunfeng Guo	 ice_parser_rt.o \
33d25a0fc4SDave Ertman	 ice_idc.o	\
340545cc86SMichal Swiatkowski	 devlink/devlink.o	\
354ebc5f25SPiotr Raczynski	 devlink/devlink_port.o \
36177ef7f1SPiotr Raczynski	 ice_sf_eth.o	\
37*0c6a3cb6SMichal Swiatkowski	 ice_sf_vsi_vlan_ops.o \
382ffd87d3SSergey Temerkhanov	 ice_ddp.o	\
39d69ea414SJacob Keller	 ice_fw_update.o \
40df006dd4SDave Ertman	 ice_lag.o	\
4137165e3fSMichal Swiatkowski	 ice_ethtool.o  \
420d08a441SKiran Patil	 ice_repr.o	\
4396a9a934SPaul M Stillwell Jr	 ice_tc_lib.o	\
4496a9a934SPaul M Stillwell Jr	 ice_fwlog.o	\
450e2bddf9SMichal Schmidt	 ice_debugfs.o  \
460e2bddf9SMichal Schmidt	 ice_adapter.o
47c31af68aSBrett Creeleyice-$(CONFIG_PCI_IOV) +=	\
48109aba47SJacob Keller	ice_sriov.o		\
49bf93bf79SJacob Keller	ice_virtchnl.o		\
50c31af68aSBrett Creeley	ice_virtchnl_allowlist.o \
51c31af68aSBrett Creeley	ice_virtchnl_fdir.o	\
52d775155aSJacob Keller	ice_vf_mbx.o		\
53c31af68aSBrett Creeley	ice_vf_vsi_vlan_ops.o	\
54109aba47SJacob Keller	ice_vf_lib.o
5591e43ca0SJacob Kellerice-$(CONFIG_PTP_1588_CLOCK) += ice_ptp.o ice_ptp_hw.o ice_dpll.o
56b94b013eSDave Ertmanice-$(CONFIG_DCB) += ice_dcb.o ice_dcb_nl.o ice_dcb_lib.o
5728bf2672SBrett Creeleyice-$(CONFIG_RFS_ACCEL) += ice_arfs.o
582d4238f5SKrzysztof Kazimierczakice-$(CONFIG_XDP_SOCKETS) += ice_xsk.o
59f6e8fb55SWojciech Drewekice-$(CONFIG_ICE_SWITCHDEV) += ice_eswitch.o ice_eswitch_br.o
60cf871006SJacob Kellerice-$(CONFIG_GNSS) += ice_gnss.o
614da71a77SKonrad Knitterice-$(CONFIG_ICE_HWMON) += ice_hwmon.o
62