'make vdso_install' can install the unstripped vDSO files, so that they can be shipped to the target system for debugging purposes.
Add the necessary variables so this also works on PowerPC. Signed-off-by: Thomas Weißschuh <[email protected]> --- Adding a build ID to the vdso with --build-id=sha1 would also make debugging easier. And then add powerpc to scripts/Makefile.vdsoinst, or wait for [0]. [0] https://lore.kernel.org/lkml/[email protected]/ --- arch/powerpc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index a58b1029592c..ca25dffc28fb 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -391,6 +391,10 @@ vdso_prepare: prepare0 $(build)=arch/powerpc/kernel/vdso include/generated/vdso64-offsets.h) endif +vdso-install-$(CONFIG_PPC32) += arch/powerpc/kernel/vdso/vdso32.so.dbg +vdso-install-$(CONFIG_PPC64) += arch/powerpc/kernel/vdso/vdso64.so.dbg +vdso-install-$(CONFIG_COMPAT) += arch/powerpc/kernel/vdso/vdso32.so.dbg + archprepare: checkbin archheaders: --- base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f change-id: 20260318-powerpc-vdso-install-847443f7712f Best regards, -- Thomas Weißschuh <[email protected]>
