]> git.ipfire.org Git - people/arne_f/kernel.git/blob - drivers/net/ethernet/netronome/nfp/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / drivers / net / ethernet / netronome / nfp / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_NFP) += nfp.o
3
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_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
34 ifeq ($(CONFIG_NFP_APP_FLOWER),y)
35 nfp-objs += \
36 flower/action.o \
37 flower/cmsg.o \
38 flower/main.o \
39 flower/match.o \
40 flower/metadata.o \
41 flower/offload.o
42 endif
43
44 ifeq ($(CONFIG_BPF_SYSCALL),y)
45 nfp-objs += \
46 bpf/verifier.o \
47 bpf/jit.o
48 endif
49
50 nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o