WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 6d8f032

Browse files
committed
Add compilation of resolve_btfids to the kernel headers postinst script
1 parent 75c66de commit 6d8f032

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/functions/compilation/kernel-debs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,9 @@ function kernel_package_callback_linux_headers() {
540540
echo "Compiling kernel-headers scripts/mod (${kernel_version_family}) using \$NCPU CPUs - please wait ..."
541541
make ARCH="${SRC_ARCH}" -j\$NCPU M=scripts/mod/
542542
543+
echo "Compiling resolve_btfids tools for assigning stable BTF type IDs to kernel symbols"
544+
make ARCH="${SRC_ARCH}" -j\$NCPU tools/bpf/resolve_btfids
545+
543546
# make ARCH="${SRC_ARCH}" -j\$NCPU modules_prepare # depends on too much other stuff.
544547
echo "Done compiling kernel-headers (${kernel_version_family})."
545548
EOT_POSTINST

0 commit comments

Comments
 (0)