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
+11
View File
@@ -0,0 +1,11 @@
config BR2_PACKAGE_NMON
bool "nmon"
depends on BR2_TOOLCHAIN_USES_GLIBC # fstab.h
select BR2_PACKAGE_NCURSES
help
Nmon is short for Nigel's performance Monitor for Linux
http://nmon.sourceforge.net/pmwiki.php
comment "nmon needs a glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
+5
View File
@@ -0,0 +1,5 @@
# From https://sourceforge.net/projects/nmon/files/
md5 df67f07ea4006c6204acff586beada81 lmon16m.c
sha1 68cd02be19036a287fe352823db93223e73a9411 lmon16m.c
# Locally computed
sha256 2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1 lmon16m.c
+28
View File
@@ -0,0 +1,28 @@
################################################################################
#
# nmon
#
################################################################################
NMON_VERSION = 16m
NMON_SITE = https://sourceforge.net/projects/nmon/files
NMON_SOURCE = lmon$(NMON_VERSION).c
NMON_LICENSE = GPL-3.0+
NMON_LICENSE_FILES = $(NMON_SOURCE)
NMON_DEPENDENCIES = ncurses
NMON_CFLAGS = $(TARGET_CFLAGS) -D JFS -D GETUSER -D LARGEMEM -D DEBIAN
define NMON_EXTRACT_CMDS
cp $(NMON_DL_DIR)/$(NMON_SOURCE) $(@D)
endef
define NMON_BUILD_CMDS
$(TARGET_CC) $(NMON_CFLAGS) $(TARGET_LDFLAGS) -o $(@D)/nmon \
$(@D)/$(NMON_SOURCE) -lncurses -lm
endef
define NMON_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/nmon $(TARGET_DIR)/usr/bin/
endef
$(eval $(generic-package))