Re: [bpf-next PATCH] selftests/bpf: fix Makefile for cgroup_helpers.c

2018-02-13 Thread Alexei Starovoitov
On Tue, Feb 13, 2018 at 02:19:15PM +0100, Jesper Dangaard Brouer wrote: > The current selftests Makefile construct result in cgroup_helpers.c > gets compiled together with all the TEST_GEN_PROGS. And it also result > in invoking the libbpf Makefile two times (tools/lib/bpf). > > These issues were

[bpf-next PATCH] selftests/bpf: fix Makefile for cgroup_helpers.c

2018-02-13 Thread Jesper Dangaard Brouer
The current selftests Makefile construct result in cgroup_helpers.c gets compiled together with all the TEST_GEN_PROGS. And it also result in invoking the libbpf Makefile two times (tools/lib/bpf). These issues were introduced in commit 9d1f15941967 ("bpf: move cgroup_helpers from samples/bpf/ to