mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
lua add demo scripts, atexit handler, gui_scrollbar_draw
Change-Id: Ie8794e8a487f73952dae43e036787b6972fdbbee
This commit is contained in:
parent
60c5a29408
commit
90118f14cf
22 changed files with 2374 additions and 22 deletions
24
apps/plugins/lua_scripts/lua_scripts.make
Normal file
24
apps/plugins/lua_scripts/lua_scripts.make
Normal file
|
@ -0,0 +1,24 @@
|
|||
# __________ __ ___.
|
||||
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
# \/ \/ \/ \/ \/
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LUASCR_SRCDIR := $(APPSDIR)/plugins/lua_scripts
|
||||
LUASCR_BUILDDIR := $(BUILDDIR)/apps/plugins/lua_scripts
|
||||
LUASCRS := $(wildcard $(LUASCR_SRCDIR)/*.lua)
|
||||
|
||||
#DUMMY := $(info [${LUASCRS}])
|
||||
|
||||
DUMMY : all
|
||||
|
||||
all: $(subst $(LUASCR_SRCDIR)/,$(LUASCR_BUILDDIR)/,$(LUASCRS))
|
||||
|
||||
$(LUASCR_BUILDDIR)/%.lua: $(LUASCR_SRCDIR)/%.lua | $(LUASCR_BUILDDIR)
|
||||
$(call PRINTS,CP $(subst $(LUASCR_SRCDIR)/,,$<))cp $< $@
|
||||
|
||||
$(LUASCR_BUILDDIR):
|
||||
$(call PRINTS,MKDIR $@)mkdir -p $(LUASCR_BUILDDIR)/
|
Loading…
Add table
Add a link
Reference in a new issue