summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
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"