mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
create rootf's & SDK from 2018.02.9 buildroot (#10)
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_LUA_MSGPACK_NATIVE
|
||||
bool "lua-msgpack-native"
|
||||
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
||||
depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT
|
||||
help
|
||||
This is a native, C language implementation of msgpack
|
||||
@@ -7,6 +8,6 @@ config BR2_PACKAGE_LUA_MSGPACK_NATIVE
|
||||
|
||||
https://github.com/kengonakajima/lua-msgpack-native
|
||||
|
||||
comment "lua-msgpack-native needs Lua 5.1 or LuaJIT"
|
||||
comment "lua-msgpack-native needs a Lua 5.1 interpreter"
|
||||
depends on !BR2_PACKAGE_LUA_5_1
|
||||
depends on !BR2_PACKAGE_LUAJIT
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
# locally computed
|
||||
sha256 025cf91d509fa3985869d18ef9b8eaeb875ff3c9fcf6467beeed6eab3bb35c93 lua-msgpack-native-41a91b994c70389dc9daa1a15678741d8ec41749.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
|
||||
|
||||
@@ -10,12 +10,8 @@ LUA_MSGPACK_NATIVE_DEPENDENCIES = luainterpreter
|
||||
LUA_MSGPACK_NATIVE_LICENSE = Apache-2.0
|
||||
LUA_MSGPACK_NATIVE_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
# lua-msgpack-native uses the old Lua 5.0 API with luaL_reg, but it is
|
||||
# no longer provided by LuaJit 2.1, so we have to alias luaL_reg to
|
||||
# luaL_Reg.
|
||||
define LUA_MSGPACK_NATIVE_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) -DluaL_reg=luaL_Reg -fPIC \
|
||||
-shared -o $(@D)/msgpack.so $(@D)/mp.c
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) -fPIC -shared -o $(@D)/msgpack.so $(@D)/mp.c
|
||||
endef
|
||||
|
||||
define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS
|
||||
|
||||
Reference in New Issue
Block a user