summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-23 10:02:48 +0000
committerDave Chapman <dave@dchapman.com>2006-02-23 10:02:48 +0000
commit6e075ebc9e7ad907e79a42096d816a7a94cf5596 (patch)
tree9ae92bd45b0b18a72f431c884727d4ddb3ebcde2 /apps/plugins/Makefile
parentba4991cc194dafd867a000fe410b7fce29b3b64d (diff)
downloadrockbox-6e075ebc9e7ad907e79a42096d816a7a94cf5596.tar.gz
rockbox-6e075ebc9e7ad907e79a42096d816a7a94cf5596.zip
Add chessbox to the build system (currently only for iRiver H1x0/H3x0 and iPods - it is too large for the Archos plugin buffer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8798 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 404f1662e2..3da2d46895 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -69,6 +69,13 @@ ifneq (-DIRIVER_IFP7XX,$(TARGET))
69endif 69endif
70endif 70endif
71 71
72# chessbox is too big to fit in the 32KB Archos plugin buffer, so we only
73# build for IRIVER and IPOD targets
74ifneq (,$(strip $(foreach tgt,IRIVER IPOD,$(findstring $(tgt),$(TARGET)))))
75ifneq (-DIRIVER_IFP7XX,$(TARGET))
76 SUBDIRS += chessbox
77endif
78endif
72 79
73.PHONY: $(SUBDIRS) 80.PHONY: $(SUBDIRS)
74all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) 81all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE)
@@ -186,10 +193,11 @@ $(LINKFILE): $(LDS)
186 @echo "build $@" 193 @echo "build $@"
187 $(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@ 194 $(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P - >$@
188 195
189$(SUBDIRS): 196$(SUBDIRS): $(BITMAPLIBS)
190 @echo "MAKE in $@" 197 @echo "MAKE in $@"
191 $(SILENT)mkdir -p $(OBJDIR)/$@ 198 $(SILENT)mkdir -p $(OBJDIR)/$@
192 $(SILENT)$(MAKE) -C $@ OUTDIR=$(OBJDIR) OBJDIR=$(OBJDIR)/$@ 199 $(SILENT)$(MAKE) -C $@ OUTDIR=$(OBJDIR) OBJDIR=$(OBJDIR)/$@ \
200 LINKBITMAPS="$(LINKBITMAPS)" BITMAPLIBS="$(BITMAPLIBS)"
193 201
194clean: 202clean:
195 @echo "cleaning plugins" 203 @echo "cleaning plugins"