initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBPFM4
|
||||
bool "libpfm4"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
help
|
||||
A helper library to help encode Performance Events to use with
|
||||
Operating system kernels performance monitoring interfaces.
|
||||
|
||||
http://perfmon2.sourceforge.net/
|
||||
|
||||
comment "libpfm4 needs a toolchain w/ NPTL"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
@@ -0,0 +1,6 @@
|
||||
# From http://sourceforge.net/projects/perfmon2/files/libpfm4/:
|
||||
sha1 112bced9a67d565ff0ce6c2bb90452516d1183e5 libpfm-4.11.0.tar.gz
|
||||
md5 4811c1d99b95752b4ba53b89a9389ec3 libpfm-4.11.0.tar.gz
|
||||
# Locally calculated
|
||||
sha256 5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedbab9fecc libpfm-4.11.0.tar.gz
|
||||
sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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= \
|
||||
EXAMPLE_DIRS=
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user