Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Alexei Starovoitov | f89b775 | 2014-10-23 18:41:08 -0700 | [diff] [blame] | 2 | obj-y := core.o |
Daniel Borkmann | b219775 | 2015-10-29 14:58:09 +0100 | [diff] [blame] | 3 | |
Edward Cree | f1174f7 | 2017-08-07 15:26:19 +0100 | [diff] [blame] | 4 | obj-$(CONFIG_BPF_SYSCALL) += syscall.o verifier.o inode.o helpers.o tnum.o |
Martin KaFai Lau | 56f668d | 2017-03-22 10:00:33 -0700 | [diff] [blame] | 5 | obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o |
Jakub Kicinski | f4ac7e0 | 2017-10-09 10:30:12 -0700 | [diff] [blame] | 6 | obj-$(CONFIG_BPF_SYSCALL) += disasm.o |
John Fastabend | 546ac1f | 2017-07-17 09:28:56 -0700 | [diff] [blame] | 7 | ifeq ($(CONFIG_NET),y) |
John Fastabend | 6bdc9c4 | 2017-08-16 15:02:32 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_BPF_SYSCALL) += devmap.o |
Jesper Dangaard Brouer | 6710e11 | 2017-10-16 12:19:28 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_BPF_SYSCALL) += cpumap.o |
Jakub Kicinski | ab3f006 | 2017-11-03 13:56:17 -0700 | [diff] [blame^] | 10 | obj-$(CONFIG_BPF_SYSCALL) += offload.o |
John Fastabend | 6bdc9c4 | 2017-08-16 15:02:32 -0700 | [diff] [blame] | 11 | ifeq ($(CONFIG_STREAM_PARSER),y) |
| 12 | obj-$(CONFIG_BPF_SYSCALL) += sockmap.o |
| 13 | endif |
John Fastabend | 546ac1f | 2017-07-17 09:28:56 -0700 | [diff] [blame] | 14 | endif |
Alexei Starovoitov | d5a3b1f | 2016-02-17 19:58:58 -0800 | [diff] [blame] | 15 | ifeq ($(CONFIG_PERF_EVENTS),y) |
| 16 | obj-$(CONFIG_BPF_SYSCALL) += stackmap.o |
| 17 | endif |
Daniel Mack | 3007098 | 2016-11-23 16:52:26 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_CGROUP_BPF) += cgroup.o |