summaryrefslogtreecommitdiff
path: root/net/bpf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/bpf/Makefile')
-rw-r--r--net/bpf/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/bpf/Makefile b/net/bpf/Makefile
index 27b2992a0692..1ebe270bde23 100644
--- a/net/bpf/Makefile
+++ b/net/bpf/Makefile
@@ -1 +1,5 @@
-obj-y := test_run.o
+# 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