rockbox/apps/plugins/lua
Aidan MacDonald 91ec6f1e1e make: allow building flat binary plugins on USE_ELF targets
From what I can see the Creative Zen Vision ports, which
were the only ones to set USE_ELF prior to the Echo R1 port,
do not work except for a bootloader and never even got to
the point of booting Rockbox. This explains why they build
codecs and plugins as ELF binaries, yet there is no code to
load ELF format codecs or plugins.

Anyhow, add a new setting, PLUGIN_USE_ELF, which controls
whether plugins & codecs are left as ELF or converted to
flat binaries. This makes it possible for the Echo R1 to
use the flat binary .rock format, and makes it possible to
have ELF plugins/codecs on targets with non-ELF main binaries.

Seeing as nothing needs ELF plugins/codecs right now, the
new default is to generate them as flat binaries unless
the target requests otherwise.

Change-Id: I9ffae669978de5cc7ad214cd50d97ad6e8938394
2026-02-04 07:32:43 -05:00
..
include_lua lua add rb_poly.lua vector drawing and memoization demo 2026-01-21 08:54:16 -05:00
lua_tests lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
action_helper.pl
button_helper.pl
lapi.c
lapi.h
lauxlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lauxlib.h
lbaselib.c
lbitlib.c
lcode.c
lcode.h
ldebug.c
ldebug.h
ldo.c
ldo.h
ldump.c
lfunc.c
lfunc.h
lgc.c
lgc.h
liolib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
llex.c
llex.h
llimits.h
lmathlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lmem.c
lmem.h
loadlib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lobject.c
lobject.h
lopcodes.c
lopcodes.h
loslib.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
lparser.c
lparser.h
lstate.c
lstate.h
lstring.c
lstring.h
lstrlib.c
ltable.c
ltable.h
ltablib.c
ltm.c
ltm.h
lua.h
lua.make make: allow building flat binary plugins on USE_ELF targets 2026-02-04 07:32:43 -05:00
lua_user.c
lua_user.h
luaconf.h
luadir.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
luadir.h
lualib.h
lundump.c
lundump.h
lvm.c
lvm.h
lzio.c
lzio.h
Makefile
rbdefines_helper.pl plugins - Add PLUGIN_GOTO_ROOT - lua add PLUGIN_GOTO_ROOT and PLUGIN_ERROR 2025-12-05 12:03:58 -05:00
README plugins: add strstr() to plugin API 2025-12-12 13:30:54 +00:00
rockaux.c [lua][BUGFIX] splash_scroller FS#13753, 13754 unicode + default font/fg/bg 2026-01-24 09:19:19 -05:00
rockconf.h lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
rocklib.c plugins: random folder advance: misc improvements 2026-01-16 16:49:38 +01:00
rocklib.h
rocklib_aux.pl plugin api: Add audio_pre_ff_rewind to plugin's API 2025-12-29 19:58:26 +05:00
rocklib_events.c
rocklib_events.h
rocklib_img.c Bugfix lua font_getstringsize ignoring supplied fontid 2025-12-14 17:51:29 -05:00
rocklib_img.h
rocklibc.h lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
rocklua.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
settings_helper.pl
SOURCES lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
strftime.c lua -- remove direct rb-> libc calls infavor of macro substitution WIP 2026-01-08 22:32:23 -05:00
strpbrk.c
tlsf_helper.c

The following files are (with slight modifications for Rockbox) from dietlibc
version 0.31 which is licensed under the GPL version 2:

    gmtime.c
    strftime.c