mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 03:48:46 +07:00
88e85a7daf
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>
12 lines
166 B
Bash
Executable File
12 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
|
|
#include <stdio.h>
|
|
int main(void)
|
|
{
|
|
printf("");
|
|
return 0;
|
|
}
|
|
END
|