1# SPDX-License-Identifier: GPL-2.0 2obj-$(CONFIG_NFP) += nfp.o 3 4nfp-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 nfp_asm.o \ 21 nfp_app.o \ 22 nfp_app_nic.o \ 23 nfp_devlink.o \ 24 nfp_hwmon.o \ 25 nfp_main.o \ 26 nfp_net_common.o \ 27 nfp_net_ctrl.o \ 28 nfp_net_debugdump.o \ 29 nfp_net_ethtool.o \ 30 nfp_net_main.o \ 31 nfp_net_repr.o \ 32 nfp_net_sriov.o \ 33 nfp_netvf_main.o \ 34 nfp_port.o \ 35 nfp_shared_buf.o \ 36 nic/main.o 37 38ifeq ($(CONFIG_TLS_DEVICE),y) 39nfp-objs += \ 40 crypto/tls.o 41endif 42 43ifeq ($(CONFIG_NFP_APP_FLOWER),y) 44nfp-objs += \ 45 flower/action.o \ 46 flower/cmsg.o \ 47 flower/lag_conf.o \ 48 flower/main.o \ 49 flower/match.o \ 50 flower/metadata.o \ 51 flower/offload.o \ 52 flower/tunnel_conf.o \ 53 flower/qos_conf.o 54endif 55 56ifeq ($(CONFIG_BPF_SYSCALL),y) 57nfp-objs += \ 58 bpf/cmsg.o \ 59 bpf/main.o \ 60 bpf/offload.o \ 61 bpf/verifier.o \ 62 bpf/jit.o 63endif 64 65ifeq ($(CONFIG_NFP_APP_ABM_NIC),y) 66nfp-objs += \ 67 abm/cls.o \ 68 abm/ctrl.o \ 69 abm/qdisc.o \ 70 abm/main.o 71endif 72 73nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o 74