]> 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)
commit81dab831e2cbcb5caa2ac3c2f2e5fe3880de3f21
tree7e01878109d2952261a18c92f088c45222cfdd21
parentbfc261a1977c046fbb3241bd6f482e7acfe47be3
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: bc078acb69cb ("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