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