mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
10
package/flashbench/Config.in
Normal file
10
package/flashbench/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_FLASHBENCH
|
||||
bool "flashbench"
|
||||
help
|
||||
Flashbench - Identify characteristics of flash media.
|
||||
|
||||
This is the tool used to identify the properties of
|
||||
SD cards and other media for the Linaro flash memory
|
||||
survey.
|
||||
|
||||
https://wiki.linaro.org/WorkingGroups/KernelConsolidation/Projects/FlashCardSurvey
|
||||
2
package/flashbench/flashbench.hash
Normal file
2
package/flashbench/flashbench.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 12e2dcb6f041ef1a303fc5bc84642ed637c24d77ed6c667a2187f21d54555731 flashbench-2e30b1968a66147412f21002ea844122a0d5e2f0.tar.gz
|
||||
23
package/flashbench/flashbench.mk
Normal file
23
package/flashbench/flashbench.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# flashbench
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0
|
||||
FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git
|
||||
FLASHBENCH_LICENSE = GPL-2.0
|
||||
FLASHBENCH_LICENSE_FILES = COPYING
|
||||
|
||||
define FLASHBENCH_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
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))
|
||||
Reference in New Issue
Block a user