• Stanislav Fomichev's avatar
    selftests: bpf: tests.h should depend on .c files, not the output · 6b7b6995
    Stanislav Fomichev authored
    This makes sure we don't put headers as input files when doing
    compilation, because clang complains about the following:
    
    clang-9: error: cannot specify -o when generating multiple output files
    ../lib.mk:152: recipe for target 'xxx/tools/testing/selftests/bpf/test_verifier' failed
    make: *** [xxx/tools/testing/selftests/bpf/test_verifier] Error 1
    make: *** Waiting for unfinished jobs....
    clang-9: error: cannot specify -o when generating multiple output files
    ../lib.mk:152: recipe for target 'xxx/tools/testing/selftests/bpf/test_progs' failed
    Signed-off-by: default avatarStanislav Fomichev <sdf@google.com>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    6b7b6995
Makefile 7.76 KB