Re: [PATCH v2 bpf-next 5/6] selftests/bpf: replace test_progs and test_maps w/ general rule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux