[Buildroot] [PATCH] Add package bonnie++
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Feb 1 21:02:38 UTC 2011
Hello,
On Tue, 1 Feb 2011 12:19:00 -0500
Martin Hicks <mort at bork.org> wrote:
> A good filesystem performance benchmark program
>
> Signed-off-by: Martin Hicks <mort at bork.org>
Thanks for this package. Some comments below.
> +config BR2_PACKAGE_BONNIE
> + bool "bonnie++"
> + help
> + Filesystem tester
Here the indent should be one tab + two spaces.
> +BONNIE_VERSION = 1.03e
> +BONNIE_SOURCE = bonnie++-$(BONNIE_VERSION).tgz
> +BONNIE_SITE = http://www.coker.com.au/bonnie++/
> +BONNIE_INSTALL_TARGET_OPT = INSTALL="install -m 0755" install-bin
This is not needed if you override the installation as done below by
BONNE_INSTALL_TARGET_CMDS.
> +define BONNIE_INSTALL_TARGET_CMDS
> + install -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin
should be
install -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++
> + install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin
should be
install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list