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 ifeq ($(CONFIG_NET
),y
)
12 obj-
$(CONFIG_BPF_SYSCALL
) += devmap.o
13 obj-
$(CONFIG_BPF_SYSCALL
) += cpumap.o
14 ifeq ($(CONFIG_XDP_SOCKETS
),y
)
15 obj-
$(CONFIG_BPF_SYSCALL
) += xskmap.o
17 obj-
$(CONFIG_BPF_SYSCALL
) += offload.o
19 ifeq ($(CONFIG_PERF_EVENTS
),y
)
20 obj-
$(CONFIG_BPF_SYSCALL
) += stackmap.o
22 obj-
$(CONFIG_CGROUP_BPF
) += cgroup.o
23 ifeq ($(CONFIG_INET
),y
)
24 obj-
$(CONFIG_BPF_SYSCALL
) += reuseport_array.o
26 ifeq ($(CONFIG_SYSFS
),y
)
27 obj-
$(CONFIG_DEBUG_INFO_BTF
) += sysfs_btf.o