summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 14:14:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 14:14:53 +0000
commit681cedb4d8e55647fd3a125cdd2966c7d2ccd200 (patch)
treed6f20a6184bf71aa26361457fef5c1f989c667e8 /apps/plugins/chessbox
parent6e15b710c0eb3353ef6b17d07424b80058e5e88f (diff)
Build overlay plugins for all targets with PLUGIN_BUFFER <= 0x10000 bytes
Bring Clipv1 & m200v4 plugin buffer down to this limit zxbox, chessbox and rockboy build on the clip rockboy doesn't build on m200v4 due to not enough buttons to make a keymap Some gameboy roms won't run on Clipv1: tetris does but not pokemon for example git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox.make8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/plugins/chessbox/chessbox.make b/apps/plugins/chessbox/chessbox.make
index 7611b5bb1a..357130cb74 100644
--- a/apps/plugins/chessbox/chessbox.make
+++ b/apps/plugins/chessbox/chessbox.make
@@ -15,18 +15,12 @@ CHESSBOX_OBJ := $(call c2obj, $(CHESSBOX_SRC))
OTHER_SRC += $(CHESSBOX_SRC)
-ifndef SIMVER
-ifneq (,$(strip $(foreach tgt,RECORDER ONDIO,$(findstring $(tgt),$(TARGET)))))
+ifeq ($(findstring YES, $(call preprocess, $(APPSDIR)/plugins/BUILD_OVERLAY)), YES)
### lowmem targets
ROCKS += $(CHESSBOX_OBJDIR)/chessbox.ovl
CHESSBOX_OUTLDS = $(CHESSBOX_OBJDIR)/chessbox.link
CHESSBOX_OVLFLAGS = -T$(CHESSBOX_OUTLDS) -Wl,--gc-sections -Wl,-Map,$(basename $@).map
else
- ### all other targets
- ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock
-endif
-else
- ### simulator
ROCKS += $(CHESSBOX_OBJDIR)/chessbox.rock
endif