2021-12-22 18:49:04 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pahole
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-04-22 20:16:12 +02:00
|
|
|
PAHOLE_VERSION = 73383b3a39afe86b22e098773e47b8546c48a649
|
|
|
|
PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot
|
|
|
|
HOST_PAHOLE_DEPENDENCIES = \
|
|
|
|
host-elfutils \
|
|
|
|
host-libbpf
|
2021-12-22 18:49:04 +01:00
|
|
|
# Defining __LIB is needed to build pahole.
|
2022-04-22 20:16:12 +02:00
|
|
|
# Set LIBBPF_EMBEDDED to OFF to use host-libbpf.
|
|
|
|
HOST_PAHOLE_CONF_OPTS = -D__LIB=lib -DLIBBPF_EMBEDDED=OFF
|
2021-12-22 18:49:04 +01:00
|
|
|
PAHOLE_LICENSE = GPL-2.0
|
|
|
|
PAHOLE_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
$(eval $(host-cmake-package))
|