summaryrefslogtreecommitdiff
path: root/net/bpf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/bpf/Makefile')
-rw-r--r--net/bpf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bpf/Makefile b/net/bpf/Makefile
index 1c0a98d8c28f..1ebe270bde23 100644
--- a/net/bpf/Makefile
+++ b/net/bpf/Makefile
@@ -1,2 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_BPF_SYSCALL) := test_run.o
+ifeq ($(CONFIG_BPF_JIT),y)
+obj-$(CONFIG_BPF_SYSCALL) += bpf_dummy_struct_ops.o
+endif