Makefile (b24413180f5600bcb3bb70fbed5cf186b60864bd) Makefile (43b45245e5a6c274f374ecb49e5bca39f28dbfad)
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 \
1obj-$(CONFIG_NFP) += nfp.o
2
3nfp-objs := \
4 nfpcore/nfp6000_pcie.o \
5 nfpcore/nfp_cppcore.o \
6 nfpcore/nfp_cpplib.o \
7 nfpcore/nfp_hwinfo.o \
8 nfpcore/nfp_mip.o \
9 nfpcore/nfp_mutex.o \
10 nfpcore/nfp_nffw.o \
11 nfpcore/nfp_nsp.o \
12 nfpcore/nfp_nsp_cmds.o \
13 nfpcore/nfp_nsp_eth.o \
14 nfpcore/nfp_resource.o \
15 nfpcore/nfp_rtsym.o \
16 nfpcore/nfp_target.o \
17 nfp_asm.o \
18 nfp_app.o \
19 nfp_app_nic.o \
20 nfp_devlink.o \
21 nfp_hwmon.o \
22 nfp_main.o \
23 nfp_net_common.o \
24 nfp_net_ethtool.o \
25 nfp_net_main.o \
26 nfp_net_repr.o \
27 nfp_net_sriov.o \
28 nfp_netvf_main.o \
29 nfp_port.o \
18 nfp_app.o \
19 nfp_app_nic.o \
20 nfp_devlink.o \
21 nfp_hwmon.o \
22 nfp_main.o \
23 nfp_net_common.o \
24 nfp_net_ethtool.o \
25 nfp_net_main.o \
26 nfp_net_repr.o \
27 nfp_net_sriov.o \
28 nfp_netvf_main.o \
29 nfp_port.o \
30 bpf/main.o \
31 bpf/offload.o \
32 nic/main.o
33
34ifeq ($(CONFIG_NFP_APP_FLOWER),y)
35nfp-objs += \
36 flower/action.o \
37 flower/cmsg.o \
38 flower/main.o \
39 flower/match.o \
40 flower/metadata.o \
30 nic/main.o
31
32ifeq ($(CONFIG_NFP_APP_FLOWER),y)
33nfp-objs += \
34 flower/action.o \
35 flower/cmsg.o \
36 flower/main.o \
37 flower/match.o \
38 flower/metadata.o \
41 flower/offload.o
39 flower/offload.o \
40 flower/tunnel_conf.o
42endif
43
44ifeq ($(CONFIG_BPF_SYSCALL),y)
45nfp-objs += \
41endif
42
43ifeq ($(CONFIG_BPF_SYSCALL),y)
44nfp-objs += \
45 bpf/main.o \
46 bpf/offload.o \
46 bpf/verifier.o \
47 bpf/jit.o
48endif
49
50nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o
47 bpf/verifier.o \
48 bpf/jit.o
49endif
50
51nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o