diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-15 00:58:02 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-15 00:58:02 +0100 |
commit | 018a49a507fb9354b10ff7afd39e9fe2603cab4e (patch) | |
tree | 3a4dda6cc355776facfe47030fb76c3367f937b9 /package/flashbench/flashbench.mk | |
parent | ee094dd16f78e27d1c53094b3267fd0d3e6d54d9 (diff) | |
download | buildroot-novena-018a49a507fb9354b10ff7afd39e9fe2603cab4e.tar.gz buildroot-novena-018a49a507fb9354b10ff7afd39e9fe2603cab4e.zip |
package: add flashbench
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/flashbench/flashbench.mk')
-rw-r--r-- | package/flashbench/flashbench.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/flashbench/flashbench.mk b/package/flashbench/flashbench.mk new file mode 100644 index 000000000..ead1346f7 --- /dev/null +++ b/package/flashbench/flashbench.mk @@ -0,0 +1,22 @@ +############################################################# +# +# flashbench +# +############################################################# + +FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 +FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_LICENSE = GPLv2 +FLASHBENCH_LICENSE_FILES = COPYING + +define FLASHBENCH_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + LDFLAGS="$(TARGET_LDFLAGS) -lrt" +endef + +define FLASHBENCH_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/flashbench $(TARGET_DIR)/usr/bin/flashbench + $(INSTALL) -m 755 -D $(@D)/erase $(TARGET_DIR)/usr/bin/erase +endef + +$(eval $(generic-package)) |