mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
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>
This commit is contained in:
committed by
Nathan Chancellor
parent
b9d21c32dc
commit
2c31897a17
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user