]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kbuild: add debug package to pacman PKGBUILD
authorJose Fernandez <jose.fernandez@linux.dev>
Sat, 24 Aug 2024 22:07:56 +0000 (16:07 -0600)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 7 Sep 2024 08:24:08 +0000 (17:24 +0900)
commit4929f5b95f6b20ae10f2c409fb2ca58253e73706
tree83fa4022d48db6539e3093f10f71371cd7996f96
parentd97eae80d57220477a02435e49b48ac6f01e289c
kbuild: add debug package to pacman PKGBUILD

Add a new debug package to the PKGBUILD for the pacman-pkg target. The
debug package includes the non-stripped vmlinux file with debug symbols
for kernel debugging and profiling. The file is installed at
/usr/src/debug/${pkgbase}, with a symbolic link at
/usr/lib/modules/$(uname -r)/build/vmlinux. The debug package is built
by default.

Signed-off-by: Jose Fernandez <jose.fernandez@linux.dev>
Reviewed-by: Peter Jung <ptr1337@cachyos.org>
Acked-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/PKGBUILD