From 4bc799856b3ba9378b1d03dac7069d15500cbeeb Mon Sep 17 00:00:00 2001 From: Martin Hicks Date: Mon, 31 Jan 2011 15:32:06 -0500 Subject: package: add bonnie++ Closes #3379 A good filesystem performance benchmark program Signed-off-by: Martin Hicks Signed-off-by: Peter Korsgaard --- package/bonnie/Config.in | 10 ++++++++++ package/bonnie/bonnie.mk | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 package/bonnie/Config.in create mode 100644 package/bonnie/bonnie.mk (limited to 'package/bonnie') diff --git a/package/bonnie/Config.in b/package/bonnie/Config.in new file mode 100644 index 000000000..9dda4b6cd --- /dev/null +++ b/package/bonnie/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_BONNIE + bool "bonnie++" + depends on BR2_INSTALL_LIBSTDCPP + help + Filesystem tester + + http://www.coker.com.au/bonnie++/ + +comment "bonnie++ requires a toolchain with C++ support enabled" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/bonnie/bonnie.mk b/package/bonnie/bonnie.mk new file mode 100644 index 000000000..9a6188fa4 --- /dev/null +++ b/package/bonnie/bonnie.mk @@ -0,0 +1,18 @@ +# +# bonnie++ +# + +BONNIE_VERSION = 1.03e +BONNIE_SOURCE = bonnie++-$(BONNIE_VERSION).tgz +BONNIE_SITE = http://www.coker.com.au/bonnie++/ + +define BONNIE_INSTALL_TARGET_CMDS + install -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++ + install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav +endef + +define BONNIE_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/usr/sbin/bonnie++ $(TARGET_DIR)/usr/sbin/zcav +endef + +$(eval $(call AUTOTARGETS,package,bonnie)) -- cgit v1.2.3