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 nfp_asm.o \ 19 nfp_app.o \ 20 nfp_app_nic.o \ 21 nfp_devlink.o \ 22 nfp_hwmon.o \ 23 nfp_main.o \ 24 nfp_net_common.o \ 25 nfp_net_ctrl.o \ 26 nfp_net_debugdump.o \ 27 nfp_net_ethtool.o \ 28 nfp_net_main.o \ 29 nfp_net_repr.o \ 30 nfp_net_sriov.o \ 31 nfp_netvf_main.o \ 32 nfp_port.o \ 33 nfp_shared_buf.o \ 34 nic/main.o 35 36ifeq ($(CONFIG_NFP_APP_FLOWER),y) 37nfp-objs += \ 38 flower/action.o \ 39 flower/cmsg.o \ 40 flower/lag_conf.o \ 41 flower/main.o \ 42 flower/match.o \ 43 flower/metadata.o \ 44 flower/offload.o \ 45 flower/tunnel_conf.o 46endif 47 48ifeq ($(CONFIG_BPF_SYSCALL),y) 49nfp-objs += \ 50 bpf/cmsg.o \ 51 bpf/main.o \ 52 bpf/offload.o \ 53 bpf/verifier.o \ 54 bpf/jit.o 55endif 56 57ifeq ($(CONFIG_NFP_APP_ABM_NIC),y) 58nfp-objs += \ 59 abm/ctrl.o \ 60 abm/main.o 61endif 62 63nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o 64