Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
f89b7755 | 2 | obj-y := core.o |
b2197755 | 3 | |
f1174f77 | 4 | obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o |
56f668df | 5 | obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o |
f4ac7e0b | 6 | obj-$(CONFIG_BPF_SYSCALL) += disasm.o |
69b693f0 | 7 | obj-$(CONFIG_BPF_SYSCALL) += btf.o |
546ac1ff | 8 | ifeq ($(CONFIG_NET),y) |
6bdc9c4c | 9 | obj-$(CONFIG_BPF_SYSCALL) += devmap.o |
6710e112 | 10 | obj-$(CONFIG_BPF_SYSCALL) += cpumap.o |
fbfc504a BT |
11 | ifeq ($(CONFIG_XDP_SOCKETS),y) |
12 | obj-$(CONFIG_BPF_SYSCALL) += xskmap.o | |
13 | endif | |
ab3f0063 | 14 | obj-$(CONFIG_BPF_SYSCALL) += offload.o |
6bdc9c4c | 15 | ifeq ($(CONFIG_STREAM_PARSER),y) |
5f103c5d | 16 | ifeq ($(CONFIG_INET),y) |
6bdc9c4c JF |
17 | obj-$(CONFIG_BPF_SYSCALL) += sockmap.o |
18 | endif | |
546ac1ff | 19 | endif |
5f103c5d | 20 | endif |
d5a3b1f6 AS |
21 | ifeq ($(CONFIG_PERF_EVENTS),y) |
22 | obj-$(CONFIG_BPF_SYSCALL) += stackmap.o | |
23 | endif | |
30070984 | 24 | obj-$(CONFIG_CGROUP_BPF) += cgroup.o |