Re: [PATCH bpf-next 1/2] selftests/bpf: enforce libbpf build before BPF programs are built

2019-10-11 Thread Martin Lau
On Thu, Oct 10, 2019 at 08:13:17PM -0700, Andrii Nakryiko wrote: > Given BPF programs rely on libbpf's bpf_helper_defs.h, which is > auto-generated during libbpf build, libbpf build has to happen before > we attempt progs/*.c build. Enforce it as order-only dependency. Acked-by: Martin KaFai Lau

[PATCH bpf-next 1/2] selftests/bpf: enforce libbpf build before BPF programs are built

2019-10-10 Thread Andrii Nakryiko
Given BPF programs rely on libbpf's bpf_helper_defs.h, which is auto-generated during libbpf build, libbpf build has to happen before we attempt progs/*.c build. Enforce it as order-only dependency. Fixes: 24f25763d6de ("libbpf: auto-generate list of BPF helper definitions") Signed-off-by: Andrii