Makefile 638 字节
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) += disasm.o
7
ifeq ($(CONFIG_NET),y)
8
obj-$(CONFIG_BPF_SYSCALL) += devmap.o
9
obj-$(CONFIG_BPF_SYSCALL) += cpumap.o
10
obj-$(CONFIG_BPF_SYSCALL) += offload.o
11
ifeq ($(CONFIG_STREAM_PARSER),y)
12
ifeq ($(CONFIG_INET),y)
13 14
obj-$(CONFIG_BPF_SYSCALL) += sockmap.o
endif
15
endif
16
endif
17 18 19
ifeq ($(CONFIG_PERF_EVENTS),y)
obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
endif
20
obj-$(CONFIG_CGROUP_BPF) += cgroup.o