Add Lua support to plugins Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23386 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
494fd9673d
commit
21bca65d04
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,8 @@ ROCKS1 := $(subst $(ROOTDIR),$(BUILDDIR),$(ROCKS1))
|
|||
|
||||
ROCKS := $(ROCKS1)
|
||||
|
||||
ROCKS1 := $(ROCKS1:%.lua=)
|
||||
|
||||
# libplugin.a
|
||||
PLUGINLIB := $(BUILDDIR)/apps/plugins/libplugin.a
|
||||
PLUGINLIB_SRC = $(call preprocess, $(APPSDIR)/plugins/lib/SOURCES)
|
||||
|
@ -96,6 +98,9 @@ else
|
|||
$(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@
|
||||
endif
|
||||
|
||||
$(BUILDDIR)/apps/plugins/%.lua: $(ROOTDIR)/apps/plugins/%.lua
|
||||
$(call PRINTS,CP $(subst $(ROOTDIR)/,,$<))cp $< $(BUILDDIR)/apps/plugins/
|
||||
|
||||
$(BUILDDIR)/%.refmap: $(APPSDIR)/plugin.h $(OVERLAYREF_LDS) $(PLUGINLIB) $(PLUGINBITMAPLIB)
|
||||
$(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o /dev/null \
|
||||
$(filter %.o, $^) \
|
||||
|
|
Loading…
Reference in a new issue