diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-06-26 05:55:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-28 06:36:39 +0200 |
commit | 88e85a7daf8e21f2d6cb054374d480c540725cde (patch) | |
tree | 6938c104fc0b85c416d273ed72598677add55e29 /net/Makefile | |
parent | hinic: reset irq affinity before freeing irq (diff) | |
download | linux-88e85a7daf8e21f2d6cb054374d480c540725cde.tar.xz linux-88e85a7daf8e21f2d6cb054374d480c540725cde.zip |
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>
Diffstat (limited to 'net/Makefile')
-rw-r--r-- | net/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/Makefile b/net/Makefile index 13ec0d5415c7..bdaf53925acd 100644 --- a/net/Makefile +++ b/net/Makefile @@ -20,11 +20,7 @@ obj-$(CONFIG_TLS) += tls/ obj-$(CONFIG_XFRM) += xfrm/ obj-$(CONFIG_UNIX) += unix/ obj-$(CONFIG_NET) += ipv6/ -ifneq ($(CC_CAN_LINK),y) -$(warning CC cannot link executables. Skipping bpfilter.) -else obj-$(CONFIG_BPFILTER) += bpfilter/ -endif obj-$(CONFIG_PACKET) += packet/ obj-$(CONFIG_NET_KEY) += key/ obj-$(CONFIG_BRIDGE) += bridge/ |