summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-12-05 14:16:18 +0100
committerAndrii Nakryiko <andrii@kernel.org>2022-12-06 16:33:16 -0800
commitd0c0b48c87274b7735f8c930a7c0d783fb46cfe9 (patch)
treec13c50bdaa33a69432601f7822642dddc32648bf /tools
parentefe7fadbd59ec4513272c722403226e47321311b (diff)
selftests/bpf: Use CONFIG_TEST_BPF=m instead of CONFIG_TEST_BPF=y
CONFIG_TEST_BPF can only be a module, so let's indicate it as such in the selftests config. Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20221205131618.1524337-4-daan.j.demeyer@gmail.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config
index be892ea76c32..612f699dc4f7 100644
--- a/tools/testing/selftests/bpf/config
+++ b/tools/testing/selftests/bpf/config
@@ -71,7 +71,7 @@ CONFIG_NF_NAT=y
CONFIG_RC_CORE=y
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
-CONFIG_TEST_BPF=y
+CONFIG_TEST_BPF=m
CONFIG_USERFAULTFD=y
CONFIG_VXLAN=y
CONFIG_XDP_SOCKETS=y