Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

11
package/libpfm4/Config.in Normal file
View File

@@ -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

View File

@@ -0,0 +1,6 @@
# From http://sourceforge.net/projects/perfmon2/files/libpfm4/:
sha1 bcb52090f02bc7bcb5ac066494cd55bbd5084e65 libpfm-4.13.0.tar.gz
md5 673aaf0613f8fd1d886b4c5867c2fef1 libpfm-4.13.0.tar.gz
# Locally calculated
sha256 d18b97764c755528c1051d376e33545d0eb60c6ebf85680436813fa5b04cc3d1 libpfm-4.13.0.tar.gz
sha256 beef323d68fc5db9c67b20e8e9de7ccde371d20cdbcdd686804055b18b926d90 COPYING

View File

@@ -0,0 +1,32 @@
################################################################################
#
# libpfm4
#
################################################################################
LIBPFM4_VERSION = 4.13.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))