]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: fix building external modules
authorAndreas Schwab <schwab@suse.de>
Tue, 2 Nov 2021 15:51:43 +0000 (16:51 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 19 Nov 2021 07:06:23 +0000 (23:06 -0800)
commite71766a510d80710493d7ad69a191f00c8488aa0
tree7e01878109d2952261a18c92f088c45222cfdd21
parent80b0073dc354e74f7bb75a57e8172655bebfea93
riscv: fix building external modules

When building external modules, vdso_prepare should not be run.  If the
kernel sources are read-only, it will fail.

Fixes: a299417c8557 ("riscv: explicitly use symbol offsets for VDSO")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Makefile