Initial Commit
- initial default booting image
This commit is contained in:
23
package/flashbench/flashbench.mk
Normal file
23
package/flashbench/flashbench.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# flashbench
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0
|
||||
FLASHBENCH_SITE = $(call github,bradfa,flashbench,$(FLASHBENCH_VERSION))
|
||||
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