path: root/apps/plugins/lua/lua.make
diff options
authorWilliam Wilgus <>2021-05-03 23:06:40 -0400
committerWilliam Wilgus <>2021-05-03 23:13:25 -0400
commit9b2f23319c5ac84927774fca02b99bbb98057ebd (patch)
tree26392ade25f9a251f67bf9a2093a71d0e59e65f9 /apps/plugins/lua/lua.make
parent489a5f3ff72802fac20ca7459620101cd263bd1a (diff)
lua fix yellow and add temploader
temp loader allows some lua requires to be loaded and later garbage collected unfortunately the module needs to be formatted in such a way to pass back a call table in order to keep the functions within from being garbage collected too early BE AWARE this bypasses the module loader which would allow code reuse so if you aren't careful this memory saving tool could spell disaster for free RAM if you load the same code multiple times Change-Id: I0b6f81e481b8c779edbd620c8403794f8353926f
Diffstat (limited to 'apps/plugins/lua/lua.make')
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make
index eada6b370f..60dfd24cdd 100644
--- a/apps/plugins/lua/lua.make
+++ b/apps/plugins/lua/lua.make
@@ -22,7 +22,8 @@ LUA_INCLUDELIST := $(addprefix $(LUA_BUILDDIR)/,audio.lua blit.lua color.lua \
math_ex.lua print.lua timer.lua playlist.lua pcm.lua \
sound.lua rbcompat.lua rbsettings.lua poly_points.lua \
printtable.lua printmenus.lua printsubmenu.lua \
- menubuttons.lua menucoresettings.lua create_kbd_layout.lua)
+ menubuttons.lua menucoresettings.lua create_kbd_layout.lua \
+ temploader.lua)
ifndef APP_TYPE
ROCKS += $(LUA_BUILDDIR)/lua.rock