This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Add missing #include for PATH_MAX
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
--- memstat-0.8.org/memstat.c 2009-06-08 14:38:05.000000000 +0200
+++ memstat-0.8/memstat.c 2014-09-12 03:55:43.096035374 +0200
@@ -19,6 +19,7 @@
#include <unistd.h>
#include <getopt.h>
#include <errno.h>
+#include <limits.h>
/* blacklist devices that just map physical memory */
char *blacklist[] = { "/dev/mem",

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_MEMSTAT
bool "memstat"
help
Memstat lists all the processes, executables, and shared
libraries that are using up virtual memory. It's helpful to
see how the shared memory is used and which 'old' libs are
loaded.
http://sourceforge.net/projects/memstattool

View File

@@ -0,0 +1,2 @@
# From http://sourceforge.net/projects/memstattool/files/
sha1 26071dbc30a2796c0503c7d8060a548ca36f8df9 memstat_1.0.tar.gz

View File

@@ -0,0 +1,24 @@
################################################################################
#
# memstat
#
################################################################################
MEMSTAT_VERSION = 1.0
MEMSTAT_SITE = http://downloads.sourceforge.net/project/memstattool
MEMSTAT_SOURCE = memstat_$(MEMSTAT_VERSION).tar.gz
MEMSTAT_LICENSE = GPL
MEMSTAT_LICENSE_FILES = debian/copyright
define MEMSTAT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" CFLAGS="$(TARGET_CFLAGS)" \
-C $(@D) memstat
endef
define MEMSTAT_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/memstat.conf -m 0644 \
$(TARGET_DIR)/etc/memstat.conf
$(INSTALL) -D $(@D)/memstat $(TARGET_DIR)/usr/bin/memstat
endef
$(eval $(generic-package))