Re: [PATCH bpf-next 1/2] libbpf: Add missing per-arch include path

2024-09-28 Thread Björn Töpel
Andrii, On Fri, 27 Sept 2024 at 22:51, Andrii Nakryiko wrote: > > On Fri, Sep 27, 2024 at 6:14 AM Björn Töpel wrote: > > > > From: Björn Töpel > > > > libbpf does not include the per-arch tools include path, e.g. > > tools/arch/riscv/include. Some architectures depend those files to > > build p

Re: [PATCH bpf-next 1/2] libbpf: Add missing per-arch include path

2024-09-27 Thread Andrii Nakryiko
On Fri, Sep 27, 2024 at 6:14 AM Björn Töpel wrote: > > From: Björn Töpel > > libbpf does not include the per-arch tools include path, e.g. > tools/arch/riscv/include. Some architectures depend those files to > build properly. > > Include tools/arch/$(SUBARCH)/include in the libbpf build. > > Fixe

[PATCH bpf-next 1/2] libbpf: Add missing per-arch include path

2024-09-27 Thread Björn Töpel
From: Björn Töpel libbpf does not include the per-arch tools include path, e.g. tools/arch/riscv/include. Some architectures depend those files to build properly. Include tools/arch/$(SUBARCH)/include in the libbpf build. Fixes: 6d74d178fe6e ("tools: Add riscv barrier implementation") Signed-of