diff options
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r-- | apps/plugins/Makefile | 12 |
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)) | |||
69 | endif | 69 | endif |
70 | endif | 70 | endif |
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 | ||
74 | ifneq (,$(strip $(foreach tgt,IRIVER IPOD,$(findstring $(tgt),$(TARGET))))) | ||
75 | ifneq (-DIRIVER_IFP7XX,$(TARGET)) | ||
76 | SUBDIRS += chessbox | ||
77 | endif | ||
78 | endif | ||
72 | 79 | ||
73 | .PHONY: $(SUBDIRS) | 80 | .PHONY: $(SUBDIRS) |
74 | all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) | 81 | all: $(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 | ||
194 | clean: | 202 | clean: |
195 | @echo "cleaning plugins" | 203 | @echo "cleaning plugins" |