summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-01-23 01:56:43 +0000
committerDave Chapman <dave@dchapman.com>2006-01-23 01:56:43 +0000
commitda882fcb89080b41486efe06dede6b733b7a7f9e (patch)
tree5b54aa16ee083411fbfbb24aba52d2a340efdf3f /apps/plugins
parent2c923a5efcd0b82bcf4a609ffc2d71c3556f9d4a (diff)
downloadrockbox-da882fcb89080b41486efe06dede6b733b7a7f9e.tar.gz
rockbox-da882fcb89080b41486efe06dede6b733b7a7f9e.zip
bmp2rb build system optimisation - only build the necessary libraries for the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8422 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 04bb62fbe3..ca3b51482c 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -21,13 +21,24 @@ ifdef SOFTWARECODECS
21endif 21endif
22 22
23# Set up the bitmap libraries 23# Set up the bitmap libraries
24BITMAPLIBS = $(BUILDDIR)/libpluginbitmapsmono.a \ 24BITMAPLIBS =
25 $(BUILDDIR)/libpluginbitmapsnative.a \ 25LINKBITMAPS =
26 $(BUILDDIR)/libpluginbitmapsremotemono.a \ 26ifneq ($(strip $(BMP2RB_MONO)),)
27 $(BUILDDIR)/libpluginbitmapsremotenative.a 27 BITMAPLIBS += $(BUILDDIR)/libpluginbitmapsmono.a
28 28 LINKBITMAPS += -lpluginbitmapsmono
29LINKBITMAPS = -lpluginbitmapsmono -lpluginbitmapsnative \ 29endif
30 -lpluginbitmapsremotemono -lpluginbitmapsremotenative 30ifneq ($(strip $(BMP2RB_NATIVE)),)
31 BITMAPLIBS += $(BUILDDIR)/libpluginbitmapsnative.a
32 LINKBITMAPS += -lpluginbitmapsnative
33endif
34ifneq ($(strip $(BMP2RB_REMOTEMONO)),)
35 BITMAPLIBS += $(BUILDDIR)/libpluginbitmapsremotemono.a
36 LINKBITMAPS += -lpluginbitmapsremotemono
37endif
38ifneq ($(strip $(BMP2RB_REMOTENATIVE)),)
39 BITMAPLIBS += $(BUILDDIR)/libpluginbitmapsremotenative.a
40 LINKBITMAPS += -lpluginbitmapsremotenative
41endif
31 42
32LDS := plugin.lds 43LDS := plugin.lds
33LINKFILE := $(OBJDIR)/pluginlink.lds 44LINKFILE := $(OBJDIR)/pluginlink.lds