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