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_JIT) += trampoline.o 10obj-$(CONFIG_BPF_SYSCALL) += btf.o 11ifeq ($(CONFIG_NET),y) 12obj-$(CONFIG_BPF_SYSCALL) += devmap.o 13obj-$(CONFIG_BPF_SYSCALL) += cpumap.o 14ifeq ($(CONFIG_XDP_SOCKETS),y) 15obj-$(CONFIG_BPF_SYSCALL) += xskmap.o 16endif 17obj-$(CONFIG_BPF_SYSCALL) += offload.o 18endif 19ifeq ($(CONFIG_PERF_EVENTS),y) 20obj-$(CONFIG_BPF_SYSCALL) += stackmap.o 21endif 22obj-$(CONFIG_CGROUP_BPF) += cgroup.o 23ifeq ($(CONFIG_INET),y) 24obj-$(CONFIG_BPF_SYSCALL) += reuseport_array.o 25endif 26ifeq ($(CONFIG_SYSFS),y) 27obj-$(CONFIG_DEBUG_INFO_BTF) += sysfs_btf.o 28endif 29