update buildroot to 2017.02.11
This commit is contained in:
27
bsp/buildroot-2017.02.11/package/stress-ng/Config.in
Normal file
27
bsp/buildroot-2017.02.11/package/stress-ng/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_STRESS_NG
|
||||
bool "stress-ng"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# disabled on musl: stress-malloc.c needs mallopt() and M_MMAP_THRESHOLD
|
||||
# disabled on uClibc: stress-aio.c needs aio.h
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
||||
depends on !BR2_microblaze # keyutils
|
||||
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
|
||||
depends on !BR2_nios2
|
||||
depends on !BR2_STATIC_LIBS # keyutils
|
||||
select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h
|
||||
select BR2_PACKAGE_ATTR # stress-xattr.c needs xattr.h
|
||||
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.
|
||||
|
||||
http://kernel.ubuntu.com/~cking/stress-ng/
|
||||
|
||||
comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3"
|
||||
depends on !BR2_microblaze && !BR2_nios2
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \
|
||||
|| !BR2_TOOLCHAIN_USES_GLIBC
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0e1d7733b35f594f7461dedbf836bd4966d0611da4cd4e85cde4804d2a425e6d stress-ng-0.06.15.tar.gz
|
||||
25
bsp/buildroot-2017.02.11/package/stress-ng/stress-ng.mk
Normal file
25
bsp/buildroot-2017.02.11/package/stress-ng/stress-ng.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# stress-ng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRESS_NG_VERSION = 0.06.15
|
||||
STRESS_NG_SITE = http://kernel.ubuntu.com/~cking/tarballs/stress-ng
|
||||
STRESS_NG_LICENSE = GPLv2+
|
||||
STRESS_NG_LICENSE_FILES = COPYING
|
||||
|
||||
STRESS_NG_DEPENDENCIES = attr keyutils
|
||||
|
||||
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