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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/cli/common/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mmc-utils
ncurses-term
nano
openssh-server
pahole
parted
psmisc
rsync
Expand Down
5 changes: 4 additions & 1 deletion lib/functions/compilation/kernel-debs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ function kernel_package_callback_linux_headers() {
Architecture: ${ARCH}
Priority: optional
Provides: linux-headers, linux-headers-armbian, armbian-$BRANCH
Depends: make, gcc, libc6-dev, bison, flex, libssl-dev, libelf-dev
Depends: make, gcc, libc6-dev, bison, flex, libssl-dev, libelf-dev, pahole
Description: Armbian Linux $BRANCH headers ${kernel_version_family}
This package provides kernel header files for ${kernel_version_family}
.
Expand Down Expand Up @@ -540,6 +540,9 @@ function kernel_package_callback_linux_headers() {
echo "Compiling kernel-headers scripts/mod (${kernel_version_family}) using \$NCPU CPUs - please wait ..."
make ARCH="${SRC_ARCH}" -j\$NCPU M=scripts/mod/

echo "Compiling resolve_btfids tools for assigning stable BTF type IDs to kernel symbols"
make ARCH="${SRC_ARCH}" -j\$NCPU tools/bpf/resolve_btfids

# make ARCH="${SRC_ARCH}" -j\$NCPU modules_prepare # depends on too much other stuff.
echo "Done compiling kernel-headers (${kernel_version_family})."
EOT_POSTINST
Expand Down