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_SYSCALL
) += btf.o
10 ifeq ($(CONFIG_NET
),y
)
11 obj-
$(CONFIG_BPF_SYSCALL
) += devmap.o
12 obj-
$(CONFIG_BPF_SYSCALL
) += cpumap.o
13 ifeq ($(CONFIG_XDP_SOCKETS
),y
)
14 obj-
$(CONFIG_BPF_SYSCALL
) += xskmap.o
16 obj-
$(CONFIG_BPF_SYSCALL
) += offload.o
18 ifeq ($(CONFIG_PERF_EVENTS
),y
)
19 obj-
$(CONFIG_BPF_SYSCALL
) += stackmap.o
21 obj-
$(CONFIG_CGROUP_BPF
) += cgroup.o
22 ifeq ($(CONFIG_INET
),y
)
23 obj-
$(CONFIG_BPF_SYSCALL
) += reuseport_array.o