diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-28 22:48:22 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-28 22:48:22 +0000 |
commit | 21bca65d0498de4f6c3f45f768e564d733313124 (patch) | |
tree | 8233088e84465024f5a72804ff37844cc1c0f436 /apps/plugins/plugins.make | |
parent | 494fd9673dc9d1417e357810fe64f36e627cdc05 (diff) | |
download | rockbox-21bca65d0498de4f6c3f45f768e564d733313124.tar.gz rockbox-21bca65d0498de4f6c3f45f768e564d733313124.zip |
Add Lua support to plugins Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r-- | apps/plugins/plugins.make | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index c4fe43c007..4c20a84835 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make | |||
@@ -15,6 +15,8 @@ ROCKS1 := $(subst $(ROOTDIR),$(BUILDDIR),$(ROCKS1)) | |||
15 | 15 | ||
16 | ROCKS := $(ROCKS1) | 16 | ROCKS := $(ROCKS1) |
17 | 17 | ||
18 | ROCKS1 := $(ROCKS1:%.lua=) | ||
19 | |||
18 | # libplugin.a | 20 | # libplugin.a |
19 | PLUGINLIB := $(BUILDDIR)/apps/plugins/libplugin.a | 21 | PLUGINLIB := $(BUILDDIR)/apps/plugins/libplugin.a |
20 | PLUGINLIB_SRC = $(call preprocess, $(APPSDIR)/plugins/lib/SOURCES) | 22 | PLUGINLIB_SRC = $(call preprocess, $(APPSDIR)/plugins/lib/SOURCES) |
@@ -96,6 +98,9 @@ else | |||
96 | $(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@ | 98 | $(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@ |
97 | endif | 99 | endif |
98 | 100 | ||
101 | $(BUILDDIR)/apps/plugins/%.lua: $(ROOTDIR)/apps/plugins/%.lua | ||
102 | $(call PRINTS,CP $(subst $(ROOTDIR)/,,$<))cp $< $(BUILDDIR)/apps/plugins/ | ||
103 | |||
99 | $(BUILDDIR)/%.refmap: $(APPSDIR)/plugin.h $(OVERLAYREF_LDS) $(PLUGINLIB) $(PLUGINBITMAPLIB) | 104 | $(BUILDDIR)/%.refmap: $(APPSDIR)/plugin.h $(OVERLAYREF_LDS) $(PLUGINLIB) $(PLUGINBITMAPLIB) |
100 | $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o /dev/null \ | 105 | $(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o /dev/null \ |
101 | $(filter %.o, $^) \ | 106 | $(filter %.o, $^) \ |