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 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.

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*




[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