2021-12-22 18:49:04 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pahole
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-04-21 13:36:27 +02:00
|
|
|
PAHOLE_VERSION = 1.25
|
2022-04-22 20:16:12 +02:00
|
|
|
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))
|