From: Fredrik Bakken Date: Wed, 1 Sep 2021 08:53:57 +0000 (+0200) Subject: lua/Makefile.uk: Bump to Lua version 5.4.3 X-Git-Tag: RELEASE-0.7.0^0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1ccfe17aebf3ed7f71a6c3da42c78f84845fab0c;p=unikraft%2Flibs%2Flua.git lua/Makefile.uk: Bump to Lua version 5.4.3 Signed-off-by: Fredrik Bakken Reviewed-by: Mocanu Gabriel Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Pull-Request: #2 --- diff --git a/Makefile.uk b/Makefile.uk index 4a855ab..acb5c2b 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -6,7 +6,7 @@ $(eval $(call addlib_s,liblua,$(CONFIG_LIBLUA))) ################################################################################ # Sources ################################################################################ -LIBLUA_VERSION=5.3.5 +LIBLUA_VERSION=5.4.3 LIBLUA_TARBALL=lua-$(LIBLUA_VERSION) LIBLUA_URL=https://www.lua.org/ftp/$(LIBLUA_TARBALL).tar.gz LIBLUA_PATCHDIR=$(LIBLUA_BASE)/patches @@ -77,16 +77,15 @@ LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lzio.c # LIB_O LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lauxlib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lbaselib.c -LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lbitlib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lcorolib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/ldblib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/liolib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lmathlib.c +LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/loadlib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/loslib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lstrlib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/ltablib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/lutf8lib.c -LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/loadlib.c LIBLUA_SRCS-y += $(LIBLUA_SRCS_BASE)/linit.c diff --git a/README.md b/README.md index 1633eb2..b736612 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ -lua for Unikraft +Lua for Unikraft ============================= This is the port of lua for Unikraft as external library. By default, when running the port will go into interactive mode. Alternatively, you can run a script from a file if passed as a initrd parameter. +## Build +Lua depends on the following libraries, that need to be added to `Makefile`: + +* `libc`, e.g. [`newlib`](https://github.com/unikraft/lib-newlib) + +## Further information + Please refer to the `README.md` as well as the documentation in the `doc/` subdirectory of the main unikraft repository.