• Alexei Starovoitov's avatar
    bpf: Disallow BPF_PRELOAD in allmodconfig builds · 2532f849
    Alexei Starovoitov authored
    The CC_CAN_LINK checks that the host compiler can link, but bpf_preload
    relies on libbpf which in turn needs libelf to be present during linking.
    allmodconfig runs in odd setups with cross compilers and missing host
    libraries like libelf. Instead of extending kconfig with every possible
    library that bpf_preload might need disallow building BPF_PRELOAD in
    such build-only configurations.
    Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
    2532f849
Kconfig 833 Bytes