Makefile 870 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
A
Alexei Starovoitov 已提交
2
obj-y := core.o
3

4
obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o
5
obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o
6
obj-$(CONFIG_BPF_SYSCALL) += local_storage.o
7
obj-$(CONFIG_BPF_SYSCALL) += disasm.o
8
obj-$(CONFIG_BPF_SYSCALL) += btf.o
9
ifeq ($(CONFIG_NET),y)
10
obj-$(CONFIG_BPF_SYSCALL) += devmap.o
11
obj-$(CONFIG_BPF_SYSCALL) += cpumap.o
12 13 14
ifeq ($(CONFIG_XDP_SOCKETS),y)
obj-$(CONFIG_BPF_SYSCALL) += xskmap.o
endif
15
obj-$(CONFIG_BPF_SYSCALL) += offload.o
16
ifeq ($(CONFIG_STREAM_PARSER),y)
17
ifeq ($(CONFIG_INET),y)
18 19
obj-$(CONFIG_BPF_SYSCALL) += sockmap.o
endif
20
endif
21
endif
22 23 24
ifeq ($(CONFIG_PERF_EVENTS),y)
obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
endif
25
obj-$(CONFIG_CGROUP_BPF) += cgroup.o
26 27 28
ifeq ($(CONFIG_INET),y)
obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o
endif