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 @@
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
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
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 1b5c48d2abd59de0738d1fc1e6204e44979ad2a1a26e8e22a2d6215dd502c797 luaposix-35.1.tar.gz
sha256 f50bc0f3197523b1709f31707425f2de95f8a45534b081a6b564179ab059e850 LICENSE
+30
View File
@@ -0,0 +1,30 @@
################################################################################
#
# luaposix
#
################################################################################
LUAPOSIX_VERSION = 35.1
LUAPOSIX_SITE = $(call github,luaposix,luaposix,v$(LUAPOSIX_VERSION))
LUAPOSIX_LICENSE = MIT
LUAPOSIX_LICENSE_FILES = LICENSE
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
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))