mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-22 16:06:04 -05:00
libbpf: Add missing per-arch include path
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: 6d74d178fe
("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-1-bjorn@kernel.org
This commit is contained in:
parent
a5da3d6568
commit
710fbca820
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@ ifndef VERBOSE
|
|||
endif
|
||||
|
||||
INCLUDES = -I$(or $(OUTPUT),.) \
|
||||
-I$(srctree)/tools/include -I$(srctree)/tools/include/uapi
|
||||
-I$(srctree)/tools/include -I$(srctree)/tools/include/uapi \
|
||||
-I$(srctree)/tools/arch/$(SRCARCH)/include
|
||||
|
||||
export prefix libdir src obj
|
||||
|
||||
|
|
Loading…
Reference in a new issue