aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
authorThomas Weißschuh <linux@weissschuh.net>2026-03-18 21:37:20 +0100
committerNathan Chancellor <nathan@kernel.org>2026-05-14 21:47:15 +0900
commit2c31897a17e55a6da529b4e797e98c6febc60fd2 (patch)
tree5ef5e5eb1d56effdf5ab95c99dbab090b8ef7575 /scripts
parentb9d21c32dca2167a614e66c9e27999b9e1c33d55 (diff)
downloadlinux-next-history-2c31897a17e55a6da529b4e797e98c6febc60fd2.tar.gz
kbuild: pacman-pkg: package unstripped vDSO libraries
The unstripped vDSO files are useful for debugging. They are provided in the upstream 'linux-headers' package. Also package them as part of 'make pacman-pkg'. Make them part of the '-debug' package, as they fit there best. This differs from the upstream package as that has no '-debug' variant. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Link: https://patch.msgid.link/20260318-kbuild-pacman-vdso-install-v1-1-48ceb31c0e80@weissschuh.net Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/package/PKGBUILD b/scripts/package/PKGBUILD
index 452374d63c244..b1d0c8a9f0304 100644
--- a/scripts/package/PKGBUILD
+++ b/scripts/package/PKGBUILD
@@ -121,6 +121,9 @@ _package-debug(){
install -Dt "${debugdir}" -m644 vmlinux
mkdir -p "${builddir}"
ln -sr "${debugdir}/vmlinux" "${builddir}/vmlinux"
+
+ echo "Installing unstripped vDSO(s)..."
+ ${MAKE} INSTALL_MOD_PATH="${pkgdir}/usr" vdso_install
}
for _p in "${pkgname[@]}"; do