![Fabrice Fontaine](/assets/img/avatar_default.png)
- Use LICENSE instead of main.c in TINYMEMBENCH_LICENSE_FILES - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
588 B
Makefile
22 lines
588 B
Makefile
################################################################################
|
|
#
|
|
# tinymembench
|
|
#
|
|
################################################################################
|
|
|
|
TINYMEMBENCH_VERSION = v0.4
|
|
TINYMEMBENCH_SITE = $(call github,ssvb,tinymembench,$(TINYMEMBENCH_VERSION))
|
|
TINYMEMBENCH_LICENSE = MIT
|
|
TINYMEMBENCH_LICENSE_FILES = LICENSE
|
|
|
|
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))
|