summaryrefslogtreecommitdiff
path: root/apps/plugins/lua_scripts/lua_scripts.make
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-05-04 08:41:16 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2024-05-05 14:01:43 -0400
commitd7c541742f5e6ec07dbcc8e1346efde9d807437e (patch)
tree2c3325b652999bd9b2443eb96d8d32035d3c4c18 /apps/plugins/lua_scripts/lua_scripts.make
parentefcea6628024c5f6796c3850c3779801db4b6874 (diff)
downloadrockbox-d7c541742f5e6ec07dbcc8e1346efde9d807437e.tar.gz
rockbox-d7c541742f5e6ec07dbcc8e1346efde9d807437e.zip
Allow first level folders in plugin menu
add sorting directories as files move picross files to a hidden folder use directory for lua_scripts, sgt_puzzles make plugin browser able to handle 1st level directories Change-Id: I30852d71dc992c378d5790756e94f06f5a2e9bef
Diffstat (limited to 'apps/plugins/lua_scripts/lua_scripts.make')
-rw-r--r--apps/plugins/lua_scripts/lua_scripts.make4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/lua_scripts/lua_scripts.make b/apps/plugins/lua_scripts/lua_scripts.make
index 2f46f9d74a..9151ab6d1c 100644
--- a/apps/plugins/lua_scripts/lua_scripts.make
+++ b/apps/plugins/lua_scripts/lua_scripts.make
@@ -10,7 +10,6 @@
10LUASCR_SRCDIR := $(APPSDIR)/plugins/lua_scripts 10LUASCR_SRCDIR := $(APPSDIR)/plugins/lua_scripts
11LUASCR_BUILDDIR := $(BUILDDIR)/apps/plugins/lua_scripts 11LUASCR_BUILDDIR := $(BUILDDIR)/apps/plugins/lua_scripts
12LUASCRS := $(wildcard $(LUASCR_SRCDIR)/*.lua) 12LUASCRS := $(wildcard $(LUASCR_SRCDIR)/*.lua)
13
14#DUMMY := $(info [${LUASCRS}]) 13#DUMMY := $(info [${LUASCRS}])
15 14
16DUMMY : all 15DUMMY : all
@@ -18,7 +17,6 @@ DUMMY : all
18all: $(subst $(LUASCR_SRCDIR)/,$(LUASCR_BUILDDIR)/,$(LUASCRS)) 17all: $(subst $(LUASCR_SRCDIR)/,$(LUASCR_BUILDDIR)/,$(LUASCRS))
19 18
20$(LUASCR_BUILDDIR)/%.lua: $(LUASCR_SRCDIR)/%.lua | $(LUASCR_BUILDDIR) 19$(LUASCR_BUILDDIR)/%.lua: $(LUASCR_SRCDIR)/%.lua | $(LUASCR_BUILDDIR)
21 $(call PRINTS,CP $(subst $(LUASCR_SRCDIR)/,,$<))cp $< $@ 20 $(call PRINTS,CP $(subst $(APPSDIR)/,,$<))cp $< $@
22
23$(LUASCR_BUILDDIR): 21$(LUASCR_BUILDDIR):
24 $(call PRINTS,MKDIR $@)mkdir -p $(LUASCR_BUILDDIR)/ 22 $(call PRINTS,MKDIR $@)mkdir -p $(LUASCR_BUILDDIR)/