]> Gentwo Git Trees - linux/.git/commit
selftests: bpf: Add missing per-arch include path
authorBjörn Töpel <bjorn@rivosinc.com>
Fri, 27 Sep 2024 13:13:53 +0000 (15:13 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 8 Oct 2024 03:20:55 +0000 (20:20 -0700)
commit19090f0306f1748980596c6c71f1c4b128639cff
tree36c04930f77442cc43d185ca78b1799f50ef0ca2
parent710fbca820c721cdd60fa8c5bbe9deb4c0788aae
selftests: bpf: Add missing per-arch include path

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 implementation")
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240927131355.350918-2-bjorn@kernel.org
tools/testing/selftests/bpf/Makefile