pahole: add pahole for kernel BTF generation

CONFIG_DEBUG_INFO_BTF=y requires pahole installed

steps to prepare pahole:

git clone --recurse-submodules  https://kernel.googlesource.com/pub/scm/devel/pahole/pahole.git
cd pahole
git checkout -b v1.28 v1.28
cd ..
mv pahole pahole-1.28
tar czvf pahole-1.28.tar.gz pahole-1.28
b2sum pahole-1.28.tar.gz

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-12-19 21:59:40 -08:00
parent 342323fa0c
commit ae6af66e21
2 changed files with 79 additions and 0 deletions

View File

@@ -2088,6 +2088,7 @@ build_system() {
lfsmake2 btrfs-progs
lfsmake2 inotify-tools
lfsmake2 grub-btrfs
lfsmake2 pahole
lfsmake2 linux
#lfsmake2 rtl8812au