2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-15 00:58:02 +01:00
|
|
|
#
|
|
|
|
# flashbench
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-15 00:58:02 +01:00
|
|
|
|
|
|
|
FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0
|
|
|
|
FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git
|
2017-03-30 15:43:32 +02:00
|
|
|
FLASHBENCH_LICENSE = GPL-2.0
|
2012-12-15 00:58:02 +01:00
|
|
|
FLASHBENCH_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define FLASHBENCH_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
2019-06-14 23:03:46 +02:00
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2012-12-15 00:58:02 +01:00
|
|
|
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))
|