blob: e597daae612014763e21efbfa4a08fee5f4b7bdb [file] [log] [blame]
Alexei Starovoitovf89b7752014-10-23 18:41:08 -07001obj-y := core.o
Daniel Borkmannb2197752015-10-29 14:58:09 +01002
Edward Creef1174f72017-08-07 15:26:19 +01003obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o
Martin KaFai Lau56f668d2017-03-22 10:00:33 -07004obj-$(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 -07005obj-$(CONFIG_BPF_SYSCALL) += disasm.o
John Fastabend546ac1f2017-07-17 09:28:56 -07006ifeq ($(CONFIG_NET),y)
John Fastabend6bdc9c42017-08-16 15:02:32 -07007obj-$(CONFIG_BPF_SYSCALL) += devmap.o
Jesper Dangaard Brouer6710e112017-10-16 12:19:28 +02008obj-$(CONFIG_BPF_SYSCALL) += cpumap.o
John Fastabend6bdc9c42017-08-16 15:02:32 -07009ifeq ($(CONFIG_STREAM_PARSER),y)
10obj-$(CONFIG_BPF_SYSCALL) += sockmap.o
11endif
John Fastabend546ac1f2017-07-17 09:28:56 -070012endif
Alexei Starovoitovd5a3b1f2016-02-17 19:58:58 -080013ifeq ($(CONFIG_PERF_EVENTS),y)
14obj-$(CONFIG_BPF_SYSCALL) += stackmap.o
15endif
Daniel Mack30070982016-11-23 16:52:26 +010016obj-$(CONFIG_CGROUP_BPF) += cgroup.o