summaryrefslogtreecommitdiff
path: root/apps/plugins/bitmaps/pluginbitmaps.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/bitmaps/pluginbitmaps.make')
-rw-r--r--apps/plugins/bitmaps/pluginbitmaps.make7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/bitmaps/pluginbitmaps.make b/apps/plugins/bitmaps/pluginbitmaps.make
index 85536ed3bb..78294a5e8c 100644
--- a/apps/plugins/bitmaps/pluginbitmaps.make
+++ b/apps/plugins/bitmaps/pluginbitmaps.make
@@ -26,13 +26,14 @@ endif
26 26
27ifdef PBMP # does player use bitmaps? 27ifdef PBMP # does player use bitmaps?
28 28
29PLUGIN_BITMAPS := $(PBMP:$(ROOTDIR)/%.bmp=$(BUILDDIR)/%.o) 29PBMP_BUILD := $(call full_path_subst,$(ROOTDIR)/%,$(BUILDDIR)/%,$(PBMP))
30
31PLUGIN_BITMAPS := $(PBMP_BUILD:%.bmp=%.o)
30 32
31PLUGINBITMAPLIB := $(BUILDDIR)/apps/plugins/bitmaps/libpluginbitmaps.a 33PLUGINBITMAPLIB := $(BUILDDIR)/apps/plugins/bitmaps/libpluginbitmaps.a
32PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB)) 34PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB))
33 35
34PBMPHFILES := $(subst $(ROOTDIR),$(BUILDDIR),$(PBMP)) 36PBMPHFILES := $(shell echo $(PBMP_BUILD) | sed -e 's/\.[0-9x]*\.bmp/.h/g' -e 's/\.bmp/.h/g' | awk "{ gsub(/apps\/plugins\/bitmaps\/(mono|native|remote_mono|remote_native)/, \"pluginbitmaps\"); print }" )
35PBMPHFILES := $(shell echo $(PBMPHFILES) | sed -e 's/\.[0-9x]*\.bmp/.h/g' -e 's/\.bmp/.h/g' | awk "{ gsub(/apps\/plugins\/bitmaps\/(mono|native|remote_mono|remote_native)/, \"pluginbitmaps\"); print }" )
36 37
37$(PBMPHFILES): $(PLUGIN_BITMAPS) 38$(PBMPHFILES): $(PLUGIN_BITMAPS)
38 39