mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-20 20:26:27 +00:00

With the brand-new syntax extension of Kconfig, we can directly check the compiler capability in the configuration phase. If the cc-can-link.sh fails, the BPFILTER_UMH is automatically hidden by the dependency. I also deleted 'default n', which is no-op. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
17 lines
478 B
Plaintext
17 lines
478 B
Plaintext
menuconfig BPFILTER
|
|
bool "BPF based packet filtering framework (BPFILTER)"
|
|
depends on NET && BPF && INET
|
|
help
|
|
This builds experimental bpfilter framework that is aiming to
|
|
provide netfilter compatible functionality via BPF
|
|
|
|
if BPFILTER
|
|
config BPFILTER_UMH
|
|
tristate "bpfilter kernel module with user mode helper"
|
|
depends on $(success,$(srctree)/scripts/cc-can-link.sh $(CC))
|
|
default m
|
|
help
|
|
This builds bpfilter kernel module with embedded user mode helper
|
|
endif
|
|
|