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