initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+14
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",
+9
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
+4
View File
@@ -0,0 +1,4 @@
# From http://sourceforge.net/projects/memstattool/files/
sha1 26071dbc30a2796c0503c7d8060a548ca36f8df9 memstat_1.0.tar.gz
# Locally computed
sha256 5e5db2a2fab637bbbc5d2400141fcb9f1b4b55540d025c2dc54378dc497cb524 debian/copyright
+24
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))