Re: [PATCH v2] selftests net: fix bpf build error

From: Lina Wang
Date: Mon Jun 06 2022 - 04:25:53 EST


On Thu, 2022-06-02 at 12:29 +0200, Paolo Abeni wrote:
> On Wed, 2022-06-01 at 16:48 +0800, Lina Wang wrote:
> > bpf_helpers.h has been moved to tools/lib/bpf since 5.10, so add
> > more
> > including path.
> >
> > Fixes: edae34a3ed92 ("selftests net: add UDP GRO fraglist + bpf
> CLANG ?= clang
> CCINCLUDE += -I../../bpf
> -CCINCLUDE += -I../../../../lib
> +CCINCLUDE += -I../../../lib
> CCINCLUDE += -I../../../../../usr/include/
> ---

Your solution is right,

> (But I still hit the "overriding recipe for target 'clean'" warnings)

I have fixed in v3, the warning is that tools/testing/selftests/net/bpf/Makefile has redefined "clean"

Thanks!