blob: 35c485fa9ea36ba91d1fd5e7d979204ffc0751e8 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Alexei Starovoitovf89b7752014-10-23 18:41:08 -07002obj-y := core.o
Daniel Borkmannb2197752015-10-29 14:58:09 +01003
Edward Creef1174f72017-08-07 15:26:19 +01004obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o
Martin KaFai Lau56f668d2017-03-22 10:00:33 -07005obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o
Jakub Kicinskif4ac7e02017-10-09 10:30:12 -07006obj-$(CONFIG_BPF_SYSCALL) += disasm.o
Martin KaFai Lau69b693f2018-04-18 15:55:57 -07007obj-$(CONFIG_BPF_SYSCALL) += btf.o
John Fastabend546ac1f2017-07-17 09:28:56 -07008ifeq ($(CONFIG_NET),y)
John Fastabend6bdc9c42017-08-16 15:02:32 -07009obj-$(CONFIG_BPF_SYSCALL) += devmap.o
Jesper Dangaard Brouer6710e112017-10-16 12:19:28 +020010obj-$(CONFIG_BPF_SYSCALL) += cpumap.o
Jakub Kicinskiab3f0062017-11-03 13:56:17 -070011obj-$(CONFIG_BPF_SYSCALL) += offload.o
John Fastabend6bdc9c42017-08-16 15:02:32 -070012ifeq ($(CONFIG_STREAM_PARSER),y)
John Fastabend5f103c52018-01-03 17:57:56 -080013ifeq ($(CONFIG_INET),y)
John Fastabend6bdc9c42017-08-16 15:02:32 -070014obj-$(CONFIG_BPF_SYSCALL) += sockmap.o
15endif
John Fastabend546ac1f2017-07-17 09:28:56 -070016endif
John Fastabend5f103c52018-01-03 17:57:56 -080017endif
Alexei Starovoitovd5a3b1f2016-02-17 19:58:58 -080018ifeq ($(CONFIG_PERF_EVENTS),y)
19obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
20endif
Daniel Mack30070982016-11-23 16:52:26 +010021obj-$(CONFIG_CGROUP_BPF) += cgroup.o