initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+32
View File
@@ -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))