]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Lua/ReadMe.txt
AppPkg: Disable Lua builds by default. Update the ReadMe file.
[mirror_edk2.git] / AppPkg / Applications / Lua / ReadMe.txt
CommitLineData
16a5fed6 1This is Lua 5.2.3, released on 11 Nov 2013.\r
2\r
3For installation instructions, license details, and\r
4further information about Lua, see doc/readme.html.\r
5=================================================\r
6\r
7Embedding Lua\r
8-------------\r
9The Lua library instance, LuaLib, is defined by StdLib.inc. Since, currently, all applications which\r
10embed Lua are also StdLib applications, StdLib.inc will be included by your package's .DSC file.\r
11\r
12The header files required to use LuaLib are in the standard include path at StdLib\Include\Lua.\r
13They may be referenced as:\r
14 #include <Lua/lua.h>\r
15 #include <Lua/lualib.h>\r
16 #include <Lua/lauxlib>\r
17 #include <Lua/luaconf.h>\r
18\r
19Lua/luaconf.h is the Lua configuration file. If you wish to build Lua with custom characteristics,\r
20this is the file to modify. Modify the file in StdLib\Include\Lua since the file in the Lua\r
21source tree is just a stub which references the file in StdLib.\r
22\r
23\r
24Installation on UEFI\r
25--------------------\r
26Install the Lua.efi file into \Efi\Tools. This is the standalone Lua interpreter.\r
27Create a directory, \Efi\StdLib\lib\Lua. This is the default location for Lua scripts.\r
28\r
29If desired, copy the files from AppPkg\Applications\Lua\scripts, in the source tree, into\r
30\Efi\StdLib\lib\Lua.\r
6b980b67
DM
31\r
32Bugs and Other Issues\r
33---------------------\r
34EOF characters, ^D or ^Z, are not properly recognized by the console and can't be used to\r
35terminate an application. Use os.exit() to exit Lua.\r