On Tue, Oct 15, 2019 at 10:11 PM Alexei Starovoitov <ast@xxxxxx> wrote: > > On 10/15/19 8:29 PM, Andrii Nakryiko wrote: > > Makefile:282: warning: overriding recipe for target > > `/data/users/andriin/linux/tools/testing/selftests/bpf/test_xdp.o' > > Makefile:277: warning: ignoring old recipe for target > > `/data/users/andriin/linux/tools/testing/selftests/bpf/test_xdp.o' > > I thought I can live with it, but no. It's too annoying. > Any make clean or make prints it. agree :-) > > Also looking at commit f96afa767baf ("selftests/bpf: enable (uncomment) > all tests in test_libbpf.sh") that introduced this stuff... > I think it's all obsolete now. > test_libbpf* can be removed. test_progs nowadays do a lot more > than this mini-test. > Doing a test with clang native | llc -march=bpf is still useful, > but at this shape of test_libbpf it's pointless to continue doing so. > Such clang native test should be properly integrated into test_progs. > For now I suggest to remove this extra test_xdp.o recompilation > and remove test_libbpf* ok, will do in v3