Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / net / ethernet / netronome / nfp / Makefile
blob808599b8066e9fe6522b7237ba9c1bdd87af9ded
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_NFP) += nfp.o
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 nfdk/dp.o \
27 nfdk/rings.o \
28 nfp_app.o \
29 nfp_app_nic.o \
30 nfp_devlink.o \
31 nfp_hwmon.o \
32 nfp_main.o \
33 nfp_net_common.o \
34 nfp_net_dp.o \
35 nfp_net_ctrl.o \
36 nfp_net_debugdump.o \
37 nfp_net_ethtool.o \
38 nfp_net_main.o \
39 nfp_net_repr.o \
40 nfp_net_sriov.o \
41 nfp_net_xsk.o \
42 nfp_netvf_main.o \
43 nfp_port.o \
44 nfp_shared_buf.o \
45 nic/main.o
47 ifeq ($(CONFIG_TLS_DEVICE),y)
48 nfp-objs += \
49 crypto/tls.o
50 endif
52 ifeq ($(CONFIG_NFP_APP_FLOWER),y)
53 nfp-objs += \
54 flower/action.o \
55 flower/cmsg.o \
56 flower/lag_conf.o \
57 flower/main.o \
58 flower/match.o \
59 flower/metadata.o \
60 flower/offload.o \
61 flower/tunnel_conf.o \
62 flower/qos_conf.o \
63 flower/conntrack.o
64 endif
66 ifeq ($(CONFIG_BPF_SYSCALL),y)
67 nfp-objs += \
68 bpf/cmsg.o \
69 bpf/main.o \
70 bpf/offload.o \
71 bpf/verifier.o \
72 bpf/jit.o
73 endif
75 ifeq ($(CONFIG_NFP_APP_ABM_NIC),y)
76 nfp-objs += \
77 abm/cls.o \
78 abm/ctrl.o \
79 abm/qdisc.o \
80 abm/main.o
81 endif
83 nfp-$(CONFIG_NFP_NET_IPSEC) += crypto/ipsec.o nfd3/ipsec.o nfdk/ipsec.o
85 nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o
87 nfp-$(CONFIG_DCB) += nic/dcb.o