Skip to content

Commit 88bd24d

Browse files
esmilpalmer-dabbelt
authored andcommitted
riscv: compat: vdso: Fix vdso_install target
When CONFIG_COMPAT=y the vdso_install target fails: $ make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- vdso_install INSTALL vdso.so make[1]: *** No rule to make target 'vdso_install'. Stop. make: *** [arch/riscv/Makefile:112: vdso_install] Error 2 The problem is that arch/riscv/kernel/compat_vdso/Makefile doesn't have a vdso_install target, but instead calls it compat_vdso_install. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Link: https://lore.kernel.org/r/20220625154207.80972-1-emil.renner.berthing@canonical.com Fixes: 0715372 ("riscv: compat: vdso: Add COMPAT_VDSO base code implementation") Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent c1f6eff commit 88bd24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ PHONY += vdso_install
111111
vdso_install:
112112
$(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
113113
$(if $(CONFIG_COMPAT),$(Q)$(MAKE) \
114-
$(build)=arch/riscv/kernel/compat_vdso $@)
114+
$(build)=arch/riscv/kernel/compat_vdso compat_$@)
115115

116116
ifeq ($(KBUILD_EXTMOD),)
117117
ifeq ($(CONFIG_MMU),y)

0 commit comments

Comments
 (0)