History

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.

Emil Renner Berthing committed 4 years ago

Commit 88bd24d1 parent c1f6eff1 file · +1 −1Browse files

Unified · Split

arch/riscv/Makefile+1−1
@@ -111,7 +111,7 @@ PHONY += vdso_install · 110 unmodified lines
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)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t