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