This commit dropped the patch, included upstream in:
5d419c790e
which was included in V0.14.04.
Three patches are also introduced to fix build issues (all
upstream not but not yet in version).
Also, this new version now depends on BR2_TOOLCHAIN_HAS_SYNC_4.
Finally, a new _MAKE_FLAGS is introduced to prevent the package to
modify too much its CFLAGS.
For change log since V0.13.05, see:
- https://github.com/ColinIanKing/stress-ng/blob/V0.15.04/debian/changelog
or commit logs:
- https://github.com/ColinIanKing/stress-ng/commits/V0.15.04
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
972 B
Makefile
35 lines
972 B
Makefile
################################################################################
|
|
#
|
|
# stress-ng
|
|
#
|
|
################################################################################
|
|
|
|
STRESS_NG_VERSION = 0.15.04
|
|
STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION))
|
|
STRESS_NG_LICENSE = GPL-2.0+
|
|
STRESS_NG_LICENSE_FILES = COPYING
|
|
|
|
STRESS_NG_MAKE_FLAGS = \
|
|
PRESERVE_CFLAGS=1
|
|
|
|
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) $(STRESS_NG_MAKE_FLAGS)
|
|
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))
|