-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This package is needed to build the kernel when using CONFIG_DEBUG_INFO_BTF. Signed-off-by: Francis Laniel <[email protected]>
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
config BR2_PACKAGE_HOST_PAHOLE | ||
bool "host pahole" | ||
default y | ||
help | ||
Pahole and other DWARF utils. | ||
|
||
https://git.kernel.org/pub/scm/devel/pahole/pahole.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Locally computed | ||
sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
######################################################################## | ||
# | ||
# pahole | ||
# | ||
######################################################################## | ||
|
||
PAHOLE_VERSION = v1.23 | ||
PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git | ||
PAHOLE_SITE_METHOD = git | ||
# This guy saved me: | ||
# https://stackoverflow.com/a/50526817 | ||
# Indeed, pahole contains git submodule and relies on them to be built. | ||
# The problem is that buildroot default behavior is to remove .git from archive. | ||
# Thus, it is not possible to use git submodule... | ||
PAHOLE_GIT_SUBMODULES = YES | ||
# We want to have static pahole binary to avoid problem while using it during | ||
# Linux kernel build. | ||
HOST_PAHOLE_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF -D__LIB=lib | ||
PAHOLE_LICENSE = GPL-2.0 | ||
PAHOLE_LICENSE_FILES = COPYING | ||
|
||
$(eval $(host-cmake-package)) |