update buildroot to 2017.02.11

This commit is contained in:
jbnadal
2018-05-22 15:35:47 +02:00
parent 4bf1f5e091
commit a3c10bd762
9257 changed files with 433426 additions and 1701 deletions

View 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

View File

@@ -0,0 +1,30 @@
################################################################################
#
# flashbench
#
################################################################################
FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0
FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git
FLASHBENCH_LICENSE = GPLv2
FLASHBENCH_LICENSE_FILES = COPYING
FLASHBENCH_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_microblaze)$(BR2_sh2a),y)
# microblaze and sh2a toolchains only provide LLONG_MAX when used with gnu99 dialect
FLASHBENCH_CFLAGS += -std=gnu99
endif
define FLASHBENCH_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(FLASHBENCH_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))