aboutsummaryrefslogtreecommitdiff
path: root/package/ramsmp/ramsmp.mk
diff options
context:
space:
mode:
authorGravatar Kelvin Cheung <keguang.zhang@gmail.com>2013-06-28 18:40:26 +0800
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-07-08 21:49:25 +0200
commita4d9191a49349548b47f1a1a01705bca14e97e66 (patch)
tree111e109c9a8e3897f18ecbe06e980a3d917c69cf /package/ramsmp/ramsmp.mk
parent391c82efa14d6db253f42616d970dacbe826b7d5 (diff)
downloadbuildroot-a4d9191a49349548b47f1a1a01705bca14e97e66.tar.gz
buildroot-a4d9191a49349548b47f1a1a01705bca14e97e66.tar.bz2
ramspeed/smp: new package
Add new package: ramspeed/smp RAMspeed/SMP, a cache and memory benchmarking tool (for multiprocessor machines running UNIX-like operating systems) Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ramsmp/ramsmp.mk')
-rw-r--r--package/ramsmp/ramsmp.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/ramsmp/ramsmp.mk b/package/ramsmp/ramsmp.mk
new file mode 100644
index 0000000000..1b44402379
--- /dev/null
+++ b/package/ramsmp/ramsmp.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# ramsmp
+#
+#############################################################
+
+RAMSMP_VERSION = 3.5.0
+RAMSMP_SITE = http://www.alasir.com/software/ramspeed
+RAMSMP_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
+
+define RAMSMP_BUILD_CMDS
+ cp -f package/ramsmp/Makefile $(@D)
+ $(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSMP_ARCH)
+endef
+
+define RAMSMP_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/ramsmp $(TARGET_DIR)/usr/bin/ramsmp
+endef
+
+$(eval $(generic-package))