69168c03606f0336da41bded6d140043025b3201
[linux-2.6-microblaze.git] / drivers / net / ethernet / netronome / nfp / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_NFP)       += nfp.o
3
4 nfp-objs := \
5             nfpcore/nfp6000_pcie.o \
6             nfpcore/nfp_cppcore.o \
7             nfpcore/nfp_cpplib.o \
8             nfpcore/nfp_dev.o \
9             nfpcore/nfp_hwinfo.o \
10             nfpcore/nfp_mip.o \
11             nfpcore/nfp_mutex.o \
12             nfpcore/nfp_nffw.o \
13             nfpcore/nfp_nsp.o \
14             nfpcore/nfp_nsp_cmds.o \
15             nfpcore/nfp_nsp_eth.o \
16             nfpcore/nfp_resource.o \
17             nfpcore/nfp_rtsym.o \
18             nfpcore/nfp_target.o \
19             ccm.o \
20             ccm_mbox.o \
21             devlink_param.o \
22             nfp_asm.o \
23             nfd3/dp.o \
24             nfd3/rings.o \
25             nfd3/xsk.o \
26             nfp_app.o \
27             nfp_app_nic.o \
28             nfp_devlink.o \
29             nfp_hwmon.o \
30             nfp_main.o \
31             nfp_net_common.o \
32             nfp_net_dp.o \
33             nfp_net_ctrl.o \
34             nfp_net_debugdump.o \
35             nfp_net_ethtool.o \
36             nfp_net_main.o \
37             nfp_net_repr.o \
38             nfp_net_sriov.o \
39             nfp_net_xsk.o \
40             nfp_netvf_main.o \
41             nfp_port.o \
42             nfp_shared_buf.o \
43             nic/main.o
44
45 ifeq ($(CONFIG_TLS_DEVICE),y)
46 nfp-objs += \
47             crypto/tls.o
48 endif
49
50 ifeq ($(CONFIG_NFP_APP_FLOWER),y)
51 nfp-objs += \
52             flower/action.o \
53             flower/cmsg.o \
54             flower/lag_conf.o \
55             flower/main.o \
56             flower/match.o \
57             flower/metadata.o \
58             flower/offload.o \
59             flower/tunnel_conf.o \
60             flower/qos_conf.o \
61             flower/conntrack.o
62 endif
63
64 ifeq ($(CONFIG_BPF_SYSCALL),y)
65 nfp-objs += \
66             bpf/cmsg.o \
67             bpf/main.o \
68             bpf/offload.o \
69             bpf/verifier.o \
70             bpf/jit.o
71 endif
72
73 ifeq ($(CONFIG_NFP_APP_ABM_NIC),y)
74 nfp-objs += \
75             abm/cls.o \
76             abm/ctrl.o \
77             abm/qdisc.o \
78             abm/main.o
79 endif
80
81 nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o