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 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 38 39ifeq ($(CONFIG_TLS_DEVICE),y) 40nfp-objs += \ 41 crypto/tls.o 42endif 43 44ifeq ($(CONFIG_NFP_APP_FLOWER),y) 45nfp-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 55endif 56 57ifeq ($(CONFIG_BPF_SYSCALL),y) 58nfp-objs += \ 59 bpf/cmsg.o \ 60 bpf/main.o \ 61 bpf/offload.o \ 62 bpf/verifier.o \ 63 bpf/jit.o 64endif 65 66ifeq ($(CONFIG_NFP_APP_ABM_NIC),y) 67nfp-objs += \ 68 abm/cls.o \ 69 abm/ctrl.o \ 70 abm/qdisc.o \ 71 abm/main.o 72endif 73 74nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o 75