]> git.baikalelectronics.ru Git - kernel.git/commit
bpfilter: check compiler capability in Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 26 Jun 2018 03:55:35 +0000 (12:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 04:36:39 +0000 (13:36 +0900)
commit7d453f0afc22db21eaeec024ea7943dfb549b306
tree6938c104fc0b85c416d273ed72598677add55e29
parentd8974789f1ab51e4501407aacb6fe9d6a3ffabfd
bpfilter: check compiler capability in Kconfig

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>
Makefile
net/Makefile
net/bpfilter/Kconfig
scripts/cc-can-link.sh