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)
commit5a19c7e06236a9c55dfc001bb4d1a8f1950d23e7
tree7e01878109d2952261a18c92f088c45222cfdd21
parent12c484c12b1995dd83862ef51e03f9b2d99e9060
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: fde9c59aebaf ("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