diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-07-24 08:31:19 +0200 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-07-24 08:31:19 +0200 |
commit | 1b68aea444e23471b57f506211a55564aeace40a (patch) | |
tree | 7ef7feeacbb4137ff97711584a892d4a4df7f649 | |
parent | 1482a31134d411996298d5c0c8db8aa9a029c3b1 (diff) | |
download | rockbox-1b68aea444e23471b57f506211a55564aeace40a.tar.gz rockbox-1b68aea444e23471b57f506211a55564aeace40a.zip |
Try #4 for lua make
Last commit was just a test to see if it work this one cleans it up
a bit and should be a bit faster
Change-Id: Ifdff5c5b78bcc6889506de607193246beccdde6b
-rw-r--r-- | apps/plugins/lua/lua.make | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make index eced2ae42d..58b3b69831 100644 --- a/apps/plugins/lua/lua.make +++ b/apps/plugins/lua/lua.make | |||
@@ -49,8 +49,8 @@ $(LUA_BUILDDIR)/rocklib_aux.c: $(APPSDIR)/plugin.h $(LUA_OBJ) $(LUA_SRCDIR)/rock | |||
49 | $(LUA_BUILDDIR)/rocklib_aux.o: $(LUA_BUILDDIR)/rocklib_aux.c | 49 | $(LUA_BUILDDIR)/rocklib_aux.o: $(LUA_BUILDDIR)/rocklib_aux.c |
50 | $(call PRINTS,CC $(<F))$(CC) $(INCLUDES) $(PLUGINFLAGS) -I $(LUA_SRCDIR) -c $< -o $@ | 50 | $(call PRINTS,CC $(<F))$(CC) $(INCLUDES) $(PLUGINFLAGS) -I $(LUA_SRCDIR) -c $< -o $@ |
51 | 51 | ||
52 | $(LUA_BUILDDIR)/%.lua: $(LUA_INCLUDEDIR)/%.lua | 52 | $(LUA_BUILDDIR)/%.lua: $(LUA_INCLUDEDIR)/%.lua | $(LUA_BUILDDIR) |
53 | $(call PRINTS,CP $(subst $(LUA_INCLUDEDIR)/,,$<))mkdir -p $(LUA_BUILDDIR)/ && cp $< $@ | 53 | $(call PRINTS,CP $(subst $(LUA_INCLUDEDIR)/,,$<))cp $< $@ |
54 | 54 | ||
55 | $(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ) $(TLSFLIB) | 55 | $(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ) $(TLSFLIB) |
56 | 56 | ||
@@ -65,3 +65,6 @@ $(LUA_BUILDDIR)/lua.ovl: $(LUA_OBJ) $(TLSFLIB) $(LUA_OUTLDS) | |||
65 | -lgcc $(LUA_OVLFLAGS) | 65 | -lgcc $(LUA_OVLFLAGS) |
66 | $(call PRINTS,LD $(@F))$(call objcopy,$(basename $@).elf,$@) | 66 | $(call PRINTS,LD $(@F))$(call objcopy,$(basename $@).elf,$@) |
67 | 67 | ||
68 | $(LUA_BUILDDIR): | ||
69 | $(call PRINTS,MKDIR $@)mkdir -p $(LUA_BUILDDIR)/ | ||
70 | |||