[PATCH] riscv: Fix vdso_install target with CONFIG_COMPAT=y

Ben Hutchings ben at decadent.org.uk
Thu Jul 14 04:21:44 PDT 2022


The recipe for vdso_install in arch/riscv/Makefile invokes targets of
the same name in arch/riscv/kernel/vdso and .../compat_vdso, but the
target in the latter is called compat_vdso_install.  Change the
recipe to use the right target name.

Fixes: 0715372a06ce ("riscv: compat: vdso: Add COMPAT_VDSO base code ...")
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
 arch/riscv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index 34cf8a598617..ee763562895c 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -110,7 +110,7 @@ PHONY += vdso_install
 vdso_install:
 	$(Q)$(MAKE) $(build)=arch/riscv/kernel/vdso $@
 	$(if $(CONFIG_COMPAT),$(Q)$(MAKE) \
-		$(build)=arch/riscv/kernel/compat_vdso $@)
+		$(build)=arch/riscv/kernel/compat_vdso compat_vdso_install)
 
 ifeq ($(KBUILD_EXTMOD),)
 ifeq ($(CONFIG_MMU),y)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20220714/19d9c95f/attachment.sig>


More information about the linux-riscv mailing list