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) += disasm.o 7obj-$(CONFIG_BPF_SYSCALL) += btf.o 8ifeq ($(CONFIG_NET),y) 9obj-$(CONFIG_BPF_SYSCALL) += devmap.o 10obj-$(CONFIG_BPF_SYSCALL) += cpumap.o 11ifeq ($(CONFIG_XDP_SOCKETS),y) 12obj-$(CONFIG_BPF_SYSCALL) += xskmap.o 13endif 14obj-$(CONFIG_BPF_SYSCALL) += offload.o 15ifeq ($(CONFIG_STREAM_PARSER),y) 16ifeq ($(CONFIG_INET),y) 17obj-$(CONFIG_BPF_SYSCALL) += sockmap.o 18endif 19endif 20endif 21ifeq ($(CONFIG_PERF_EVENTS),y) 22obj-$(CONFIG_BPF_SYSCALL) += stackmap.o 23endif 24obj-$(CONFIG_CGROUP_BPF) += cgroup.o 25