Skip to content

Commit 8d75785

Browse files
bebarinoctmarinas
authored andcommitted
ARM64: vdso32: Install vdso32 from vdso_install
Add the 32-bit vdso Makefile to the vdso_install rule so that 'make vdso_install' installs the 32-bit compat vdso when it is compiled. Fixes: a7f71a2 ("arm64: compat: Add vDSO") Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Acked-by: Will Deacon <[email protected]> Cc: Vincenzo Frascino <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent abf532c commit 8d75785

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

arch/arm64/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ zinstall install:
165165
PHONY += vdso_install
166166
vdso_install:
167167
$(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso $@
168+
$(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso32 $@
168169

169170
# We use MRPROPER_FILES and CLEAN_FILES now
170171
archclean:

arch/arm64/kernel/vdso32/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ quiet_cmd_vdsosym = VDSOSYM $@
208208
cmd_vdsosym = $(NM) $< | $(gen-vdsosym) | LC_ALL=C sort > $@
209209

210210
# Install commands for the unstripped file
211-
quiet_cmd_vdso_install = INSTALL $@
211+
quiet_cmd_vdso_install = INSTALL32 $@
212212
cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/vdso32.so
213213

214214
vdso.so: $(obj)/vdso.so.dbg

0 commit comments

Comments
 (0)