Skip to contentSkip to conversation

ARM64: vdso32: Install vdso32 from vdso_install

PATCH Applied Stephen Boyd 4 participants 4 messages Aug 18, 2020 – Aug 21, 2020 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Vincenzo Frascino <[email protected]>
Fixes a7f71a2c8903 ("arm64: compat: Add vDSO")
---
 arch/arm64/Makefile               | 1 +
 arch/arm64/kernel/vdso32/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm64/Makefile +1 -0
index 55bc8546d9c7..b45f0124cc16 100644
@@ -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:
arch/arm64/kernel/vdso32/Makefile +1 -1
index 5139a5f19256..d6adb4677c25 100644
@@ -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)/[email protected] $(MODLIB)/vdso/vdso32.so
 
 vdso.so: $(obj)/vdso.so.dbg

base-commit: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5

Signature · 1 line
Sent by a computer, using git, on the internet
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Stephen Boyd

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.

Cc Vincenzo Frascino <[email protected]>
Fixes a7f71a2c8903 ("arm64: compat: Add vDSO")
---
 arch/arm64/Makefile               | 1 +
 arch/arm64/kernel/vdso32/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Will

Reviewed-by on v1 1/1
#2 lore raw
In reply to Stephen Boyd
Quoted 11 lines · Stephen Boyd

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.

Cc Vincenzo Frascino <[email protected]>
Fixes a7f71a2c8903 ("arm64: compat: Add vDSO")
---
 arch/arm64/Makefile               | 1 +
 arch/arm64/kernel/vdso32/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 28 lines
arch/arm64/Makefile +1 -0
index 55bc8546d9c7..b45f0124cc16 100644
@@ -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:
arch/arm64/kernel/vdso32/Makefile +1 -1
index 5139a5f19256..d6adb4677c25 100644
@@ -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)/[email protected] $(MODLIB)/vdso/vdso32.so
 
 vdso.so: $(obj)/vdso.so.dbg

base-commit: 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5

Signature · 2 lines
Regards,
Vincenzo