Merge branch 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm
[linux-2.6-microblaze.git] / kernel / bpf / Makefile
1 # SPDX-License-Identifier: GPL-2.0
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 queue_stack_maps.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 ifeq ($(CONFIG_XDP_SOCKETS),y)
13 obj-$(CONFIG_BPF_SYSCALL) += xskmap.o
14 endif
15 obj-$(CONFIG_BPF_SYSCALL) += offload.o
16 endif
17 ifeq ($(CONFIG_PERF_EVENTS),y)
18 obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
19 endif
20 obj-$(CONFIG_CGROUP_BPF) += cgroup.o
21 ifeq ($(CONFIG_INET),y)
22 obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o
23 endif