]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM64: vdso32: Install vdso32 from vdso_install
authorStephen Boyd <swboyd@chromium.org>
Tue, 18 Aug 2020 01:49:50 +0000 (18:49 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 21 Aug 2020 18:11:44 +0000 (19:11 +0100)
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: a7f71a2c8903 ("arm64: compat: Add vDSO")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20200818014950.42492-1-swboyd@chromium.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Makefile
arch/arm64/kernel/vdso32/Makefile

index 55bc8546d9c749dbb77cc94793674eaea98111cc..b45f0124cc16f3bf04c02976b11be5bdc2ab7a32 100644 (file)
@@ -165,6 +165,7 @@ zinstall install:
 PHONY += vdso_install
 vdso_install:
        $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso $@
+       $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso32 $@
 
 # We use MRPROPER_FILES and CLEAN_FILES now
 archclean:
index 5139a5f19256822f74fc7ed29b558c6f71a7e841..d6adb4677c25f801ba16ee25294c1e9ebd7d7678 100644 (file)
@@ -208,7 +208,7 @@ quiet_cmd_vdsosym = VDSOSYM $@
       cmd_vdsosym = $(NM) $< | $(gen-vdsosym) | LC_ALL=C sort > $@
 
 # Install commands for the unstripped file
-quiet_cmd_vdso_install = INSTALL $@
+quiet_cmd_vdso_install = INSTALL32 $@
       cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/vdso32.so
 
 vdso.so: $(obj)/vdso.so.dbg