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
+25
View File
@@ -0,0 +1,25 @@
config BR2_PACKAGE_MKSH
bool "mksh"
depends on BR2_USE_MMU # fork()
help
The MirBSD Korn Shell,
mksh is a successor of pdksh but not affiliated with the
pdksh developers or contributors. mksh is not affiliated
with the AT&T Korn Shell, its past or present owners,
other than that both attempt to implement the Korn Shell
programming language.
mksh targets users who desire a compact, fast, reliable,
secure shell not cut off modern extensions; a shell with
Unicode support; an actively developed, current, and
portable product; one with developers that listen to
their users' requests and implement them if they
actually make sense.
mksh aims to replace pdksh in all but very rare use cases
(such as support for checking the Unix mbox) and in all
operating environments
(thus including patches from pdksh on e.g. Debian).
http://www.mirbsd.org/mksh.htm
+4
View File
@@ -0,0 +1,4 @@
# From http://www.mirbsd.org/mksh.htm#build
sha256 77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506 mksh-R59c.tgz
# Locally computed
sha256 abf44a61ec777c98f8ae7e08e4fe25fe258e0c470215e2eeb22816f6bae72c80 mksh.1
+32
View File
@@ -0,0 +1,32 @@
################################################################################
#
# mksh
#
################################################################################
MKSH_VERSION = 59c
MKSH_SOURCE = mksh-R$(MKSH_VERSION).tgz
MKSH_SITE = http://www.mirbsd.org/MirOS/dist/mir/mksh
# For MirOS License see http://www.mirbsd.org/TaC-mksh.txt
MKSH_LICENSE = MirOS, ISC
MKSH_LICENSE_FILES = mksh.1
define MKSH_BUILD_CMDS
cd $(@D) && $(TARGET_MAKE_ENV) \
TARGET_OS=Linux $(TARGET_CONFIGURE_OPTS) \
sh ./Build.sh
endef
define MKSH_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/mksh $(TARGET_DIR)/bin/mksh
endef
# Add /bin/mksh to /etc/shells otherwise some login tools like dropbear
# can reject the user connection. See man shells.
define MKSH_ADD_MKSH_TO_SHELLS
grep -qsE '^/bin/mksh$$' $(TARGET_DIR)/etc/shells \
|| echo "/bin/mksh" >> $(TARGET_DIR)/etc/shells
endef
MKSH_TARGET_FINALIZE_HOOKS += MKSH_ADD_MKSH_TO_SHELLS
$(eval $(generic-package))