source "package/strace/Config.in"
source "package/stress/Config.in"
source "package/sysprof/Config.in"
+source "package/tinymembench/Config.in"
source "package/whetstone/Config.in"
source "package/valgrind/Config.in"
source "package/pv/Config.in"
--- /dev/null
+config BR2_PACKAGE_TINYMEMBENCH
+ bool "tinymembench"
+ help
+ Tinymembench is a simple memory benchmark program, which
+ tries to measure the peak bandwidth of sequential memory
+ accesses and the latency of random memory accesses.
+ Bandwidth is measured by running different assembly code for
+ the aligned memory blocks and attempting different prefetch
+ strategies.
+
+ https://github.com/ssvb/tinymembench
--- /dev/null
+################################################################################
+#
+# tinymembench
+#
+################################################################################
+
+TINYMEMBENCH_VERSION = v0.2
+TINYMEMBENCH_SITE = http://github.com/ssvb/tinymembench/tarball/$(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))
+