e5c392830e
[Thomas: taken from Mischa original github patch.] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
587 B
Makefile
22 lines
587 B
Makefile
################################################################################
|
|
#
|
|
# tinymembench
|
|
#
|
|
################################################################################
|
|
|
|
TINYMEMBENCH_VERSION = v0.2
|
|
TINYMEMBENCH_SITE = $(call github,ssvb,tinymembench,$(TINYMEMBENCH_VERSION))
|
|
TINYMEMBENCH_LICENSE = MIT
|
|
TINYMEMBENCH_LICENSE_FILES = main.c
|
|
|
|
define TINYMEMBENCH_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define TINYMEMBENCH_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/tinymembench \
|
|
$(TARGET_DIR)/usr/bin/tinymembench
|
|
endef
|
|
|
|
$(eval $(generic-package))
|