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

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

Re: [PATCH bpf-next 2/2] selftests: bpf: 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 > > The prog_tests programs do 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 selftes

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

2024-09-27 Thread Björn Töpel
From: Björn Töpel The prog_tests programs do 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 selftests bpf build. Fixes: 6d74d178fe6e ("tools: Add riscv barrier impl