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,27 @@
From bf646965f75cdad77a45fa3b0046e093b202b2ce Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Thu, 22 Jul 2010 12:42:10 -0300
Subject: [PATCH] Make cpu number counter more reliable
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
iostat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/iostat.c b/iostat.c
index 13e2af7..5d74085 100644
--- a/iostat.c
+++ b/iostat.c
@@ -140,7 +140,7 @@ void get_number_of_cpus()
handle_error("Can't open /proc/cpuinfo", !ncpufp);
while (fgets(buffer, sizeof(buffer), ncpufp)) {
- if (!strncmp(buffer, "processor\t:", 11))
+ if (!strncasecmp(buffer, "processor\t", 10))
ncpu++;
}
fclose(ncpufp);
--
1.7.1

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_IOSTAT
bool "iostat"
help
An I/O performance monitoring utility.
http://www.linuxinsight.com/iostat_utility.html

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 edc5aa73f43bd6c7d49f2c1d5906a0a68c0b28bc4dfdaf1f2aa5ae4a2449c58e iostat-2.2.tar.gz

View File

@@ -0,0 +1,21 @@
################################################################################
#
# iostat
#
################################################################################
IOSTAT_VERSION = 2.2
IOSTAT_SITE = http://linuxinsight.com/sites/default/files
IOSTAT_LICENSE = GPL
IOSTAT_LICENSE_FILES = LICENSE
define IOSTAT_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DHZ=100"
endef
define IOSTAT_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
endef
$(eval $(generic-package))