Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_LUAPOSIX
bool "luaposix"
# "bit32" is included in Lua 5.2+. luajit has an equivalent
# "bit" module, but since it has a different name, luaposix
# doesn't find it.
select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # runtime
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
This is a POSIX binding for LuaJIT, Lua 5.1 through 5.4;
like most libraries it simply binds to C APIs on the
underlying system, so it won't work on non-POSIX systems.
However, it does try to detect the level of POSIX conformance
of the underlying system and bind only available APIs.
https://github.com/luaposix/luaposix

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 82cd9a96c41a4a3205c050206f0564ff4456f773a8f9ffc9235ff8f1907ca5e6 luaposix-36.3.tar.gz
sha256 0aaf3d6797693f3ea0ef4df2cb4d43627b00eb08213ead4fb037a8c4a04f8631 LICENSE

View File

@@ -0,0 +1,34 @@
################################################################################
#
# luaposix
#
################################################################################
LUAPOSIX_VERSION = 36.3
LUAPOSIX_SITE = $(call github,luaposix,luaposix,v$(LUAPOSIX_VERSION))
LUAPOSIX_LICENSE = MIT
LUAPOSIX_LICENSE_FILES = LICENSE
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
LUAPOSIX_DEPENDENCIES += libxcrypt
endif
define LUAPOSIX_BUILD_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LUA_INCDIR=$(STAGING_DIR)/usr/include \
)
endef
define LUAPOSIX_INSTALL_TARGET_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke install \
INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \
)
endef
$(eval $(generic-package))