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
@@ -0,0 +1,20 @@
retro compatible with Lua 5.1 C/API
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Index: b/lbase64.c
===================================================================
--- a/lbase64.c
+++ b/lbase64.c
@@ -111,7 +111,11 @@
LUALIB_API int luaopen_base64(lua_State *L)
{
+#if LUA_VERSION_NUM >= 502
luaL_newlib(L,R);
+#else
+ luaL_register(L,MYNAME,R);
+#endif
lua_pushliteral(L,"version"); /** version */
lua_pushliteral(L,MYVERSION);
lua_settable(L,-3);
+6
View File
@@ -0,0 +1,6 @@
config BR2_PACKAGE_LBASE64
bool "lbase64"
help
A base64 library for Lua
http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 b83dbc87330a322e5222cd891a6e258b533f5b6c46e8f3c18fc0265e4c991aaa lbase64.tar.gz
sha256 a2b4f2d25b56c40801ce4f403541cbc301313048acfaa59c9509024bec57b662 README
+24
View File
@@ -0,0 +1,24 @@
################################################################################
#
# lbase64
#
################################################################################
LBASE64_VERSION = 20120820
LBASE64_SITE = http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/5.3
LBASE64_SOURCE = lbase64.tar.gz
LBASE64_LICENSE = Public domain
LBASE64_LICENSE_FILES = README
LBASE64_DEPENDENCIES = luainterpreter
define LBASE64_BUILD_CMDS
$(MAKE1) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) so
endef
define LBASE64_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/base64.so \
$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/base64.so
endef
$(eval $(generic-package))