kumquat-buildroot/package/pahole/pahole.mk
Francis Laniel fdee03647f package/pahole: bump to commit 73383b3a39af
The main goal is to use buildroot host-libbpf instead of pahole libbpf
git submodule (which ends up being the same thing anyway). However, this
creates compilation errors due to the use of deprecated APIs (like
btf__get_nr_types). Bump pahole to a commit that is compatible with
current libbpf:
73383b3a39af ("libbpf: Update libbpf to the latest git HEAD")

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-30 17:42:13 +02:00

19 lines
609 B
Makefile

################################################################################
#
# pahole
#
################################################################################
PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649
PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot
HOST_PAHOLE_DEPENDENCIES = \
host-elfutils \
host-libbpf
# Defining __LIB is needed to build pahole.
# Set LIBBPF_EMBEDDED to OFF to use host-libbpf.
HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF
PAHOLE_LICENSE = GPL-2.0
PAHOLE_LICENSE_FILES = COPYING
$(eval $(host-cmake-package))