27e8cd5db3
Major updates: - AMD Zen1 core PMU updates - AMD Zen2 core PMU support - Intel Icelake core PMU support - support to report if events are speculative - support for Extended PEBS events on Icelake - Intel Tremont core PMU support - ARM Neoverse N1 core PMU support - s390 event table updates - Marvell TX2 core and uncore updates - Intel CascadeLakeX uncore PMU support - Various other event table updates and bug fixes http://perfmon2.sourceforge.net/ Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
936 B
Makefile
32 lines
936 B
Makefile
################################################################################
|
|
#
|
|
# libpfm4
|
|
#
|
|
################################################################################
|
|
|
|
LIBPFM4_VERSION = 4.11.0
|
|
LIBPFM4_SOURCE = libpfm-$(LIBPFM4_VERSION).tar.gz
|
|
LIBPFM4_SITE = http://downloads.sourceforge.net/project/perfmon2/libpfm4
|
|
LIBPFM4_LICENSE = libpfm4 license
|
|
LIBPFM4_LICENSE_FILES = COPYING
|
|
LIBPFM4_INSTALL_STAGING = YES
|
|
|
|
LIBPFM4_FLAGS = SYS=Linux ARCH=$(BR2_ARCH) \
|
|
CC="$(TARGET_CC)" LDCONFIG=true \
|
|
CONFIG_PFMLIB_SHARED=$(if $(BR2_STATIC_LIBS),n,y) \
|
|
DBG=
|
|
|
|
define LIBPFM4_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS)
|
|
endef
|
|
|
|
define LIBPFM4_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(STAGING_DIR)/usr install
|
|
endef
|
|
|
|
define LIBPFM4_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(TARGET_DIR)/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|