]> git.baikalelectronics.ru Git - kernel.git/commit
tools, build: Add RISC-V to HOSTARCH parsing
authorBjörn Töpel <bjorn@kernel.org>
Thu, 28 Oct 2021 16:10:55 +0000 (18:10 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 1 Nov 2021 16:08:21 +0000 (17:08 +0100)
commitbe5f2429f02171030f3605a65d000cc78013b481
tree8533c3c2fabe73a45aea6e6c2d4934d910dad7b4
parent9a983aa969be0b9fa0af6c613f8bbf591487862f
tools, build: Add RISC-V to HOSTARCH parsing

Add RISC-V to the HOSTARCH parsing, so that ARCH is "riscv", and not
"riscv32" or "riscv64".

This affects the perf and libbpf builds, so that arch specific
includes are correctly picked up for RISC-V.

Signed-off-by: Björn Töpel <bjorn@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211028161057.520552-3-bjorn@kernel.org
tools/scripts/Makefile.arch