package/pahole: new host package
pahole is a tool used to show data structure embedded in debugging information formats like DWARF. It is notably needed by the Linux kernel to generate BPF Type Format (BTF) information used by Compile Once - Run Everywhere (CO-RE) BPF tools. To be built, pahole needs __LIB to be set to lib at stated in its README. Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6e68ec6de0
commit
ddba0ef6b1
@ -971,6 +971,9 @@ N: Floris Bos <bos@je-eigen-domein.nl>
|
||||
F: package/ipmitool/
|
||||
F: package/odhcploc/
|
||||
|
||||
N: Francis Laniel <flaniel@linux.microsoft.com>
|
||||
F: package/pahole/
|
||||
|
||||
N: Francisco Gonzalez <gzmorell@gmail.com>
|
||||
F: package/ser2net/
|
||||
|
||||
|
@ -61,6 +61,7 @@ menu "Host utilities"
|
||||
source "package/omap-u-boot-utils/Config.in.host"
|
||||
source "package/openocd/Config.in.host"
|
||||
source "package/opkg-utils/Config.in.host"
|
||||
source "package/pahole/Config.in.host"
|
||||
source "package/parted/Config.in.host"
|
||||
source "package/patchelf/Config.in.host"
|
||||
source "package/pigz/Config.in.host"
|
||||
|
6
package/pahole/Config.in.host
Normal file
6
package/pahole/Config.in.host
Normal file
@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_HOST_PAHOLE
|
||||
bool "host pahole"
|
||||
help
|
||||
Pahole and other DWARF utils.
|
||||
|
||||
https://git.kernel.org/pub/scm/devel/pahole/pahole.git
|
3
package/pahole/pahole.hash
Normal file
3
package/pahole/pahole.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
18
package/pahole/pahole.mk
Normal file
18
package/pahole/pahole.mk
Normal file
@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# pahole
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PAHOLE_VERSION = v1.23
|
||||
PAHOLE_SITE = git://git.kernel.org/pub/scm/devel/pahole/pahole.git
|
||||
PAHOLE_SITE_METHOD = git
|
||||
# pahole contains git submodule and relies on them to be built.
|
||||
PAHOLE_GIT_SUBMODULES = YES
|
||||
HOST_PAHOLE_DEPENDENCIES = host-elfutils
|
||||
# Defining __LIB is needed to build pahole.
|
||||
HOST_PAHOLE_CONF_OPTS = -D__LIB=lib
|
||||
PAHOLE_LICENSE = GPL-2.0
|
||||
PAHOLE_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(host-cmake-package))
|
Loading…
Reference in New Issue
Block a user