]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
riscv: fix building external modules
authorAndreas Schwab <schwab@suse.de>
Tue, 2 Nov 2021 15:51:43 +0000 (16:51 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:14 +0000 (07:34 +0100)
commit9c29d0aa6f9753d6102e4f4a2c3ae4a2f940c9fc
tree344dbc9bc8014f8ea5eda8d5e69b24049f740808
parente9557769c83c0612dcdf3090e1ab23afd88cbd14
riscv: fix building external modules

BugLink: https://bugs.launchpad.net/bugs/1952579
[ Upstream commit 5a19c7e06236a9c55dfc001bb4d1a8f1950d23e7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
arch/riscv/Makefile