diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-23 10:02:48 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-23 10:02:48 +0000 |
commit | 6e075ebc9e7ad907e79a42096d816a7a94cf5596 (patch) | |
tree | 9ae92bd45b0b18a72f431c884727d4ddb3ebcde2 /apps/plugins/Makefile | |
parent | ba4991cc194dafd867a000fe410b7fce29b3b64d (diff) | |
download | rockbox-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/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" |