initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_STRESS_NG
|
||||
bool "stress-ng"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
||||
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC
|
||||
depends on !BR2_nios2
|
||||
depends on !BR2_arc
|
||||
help
|
||||
stress-ng will stress test a computer system in various
|
||||
selectable ways. It was designed to exercise various physical
|
||||
subsystems of a computer as well as the various operating
|
||||
system kernel interfaces.
|
||||
|
||||
https://github.com/ColinIanKing/stress-ng
|
||||
|
||||
comment "stress-ng needs a toolchain w/ headers >= 3.3"
|
||||
depends on !BR2_nios2 && !BR2_arc
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1973b142b9b731952dd4ce77c3618a7e3c62494587e23bf37c8683503d048f68 stress-ng-0.13.01.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# stress-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRESS_NG_VERSION = 0.13.01
|
||||
STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION))
|
||||
STRESS_NG_LICENSE = GPL-2.0+
|
||||
STRESS_NG_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
||||
STRESS_NG_DEPENDENCIES += libbsd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
||||
STRESS_NG_DEPENDENCIES += keyutils
|
||||
endif
|
||||
|
||||
define STRESS_NG_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
# Don't use make install otherwise stress-ng will be rebuild without
|
||||
# required link libraries if any. Furthermore, using INSTALL allow to
|
||||
# set the file permission correcly on the target.
|
||||
define STRESS_NG_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/stress-ng $(TARGET_DIR)/usr/bin/stress-ng
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user