kumquat-buildroot/package/pahole/pahole.mk
Francis Laniel ddba0ef6b1 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>
2022-01-13 22:12:03 +01:00

19 lines
591 B
Makefile

################################################################################
#
# 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))