Linux 4.16.11
[linux/fpc-iii.git] / drivers / net / ethernet / netronome / nfp / Makefile
blobd5866d708dfa3f3a5dd3a5d28ad0c04a8f3d0313
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_NFP) += nfp.o
4 nfp-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 nic/main.o
35 ifeq ($(CONFIG_NFP_APP_FLOWER),y)
36 nfp-objs += \
37 flower/action.o \
38 flower/cmsg.o \
39 flower/main.o \
40 flower/match.o \
41 flower/metadata.o \
42 flower/offload.o \
43 flower/tunnel_conf.o
44 endif
46 ifeq ($(CONFIG_BPF_SYSCALL),y)
47 nfp-objs += \
48 bpf/cmsg.o \
49 bpf/main.o \
50 bpf/offload.o \
51 bpf/verifier.o \
52 bpf/jit.o
53 endif
55 nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o