WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / ethernet / netronome / nfp / Makefile
blobd31772ae511d1d00a1df0ffe8e6d5987174748ba
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_hwinfo.o \
9 nfpcore/nfp_mip.o \
10 nfpcore/nfp_mutex.o \
11 nfpcore/nfp_nffw.o \
12 nfpcore/nfp_nsp.o \
13 nfpcore/nfp_nsp_cmds.o \
14 nfpcore/nfp_nsp_eth.o \
15 nfpcore/nfp_resource.o \
16 nfpcore/nfp_rtsym.o \
17 nfpcore/nfp_target.o \
18 ccm.o \
19 ccm_mbox.o \
20 devlink_param.o \
21 nfp_asm.o \
22 nfp_app.o \
23 nfp_app_nic.o \
24 nfp_devlink.o \
25 nfp_hwmon.o \
26 nfp_main.o \
27 nfp_net_common.o \
28 nfp_net_ctrl.o \
29 nfp_net_debugdump.o \
30 nfp_net_ethtool.o \
31 nfp_net_main.o \
32 nfp_net_repr.o \
33 nfp_net_sriov.o \
34 nfp_netvf_main.o \
35 nfp_port.o \
36 nfp_shared_buf.o \
37 nic/main.o
39 ifeq ($(CONFIG_TLS_DEVICE),y)
40 nfp-objs += \
41 crypto/tls.o
42 endif
44 ifeq ($(CONFIG_NFP_APP_FLOWER),y)
45 nfp-objs += \
46 flower/action.o \
47 flower/cmsg.o \
48 flower/lag_conf.o \
49 flower/main.o \
50 flower/match.o \
51 flower/metadata.o \
52 flower/offload.o \
53 flower/tunnel_conf.o \
54 flower/qos_conf.o
55 endif
57 ifeq ($(CONFIG_BPF_SYSCALL),y)
58 nfp-objs += \
59 bpf/cmsg.o \
60 bpf/main.o \
61 bpf/offload.o \
62 bpf/verifier.o \
63 bpf/jit.o
64 endif
66 ifeq ($(CONFIG_NFP_APP_ABM_NIC),y)
67 nfp-objs += \
68 abm/cls.o \
69 abm/ctrl.o \
70 abm/qdisc.o \
71 abm/main.o
72 endif
74 nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o