summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/SUBDIRS5
-rw-r--r--manual/plugins/main.tex2
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS
index ddd96ff..bdae8d2 100644
--- a/apps/plugins/SUBDIRS
+++ b/apps/plugins/SUBDIRS
@@ -20,9 +20,12 @@ chessbox
jpeg
sudoku
reversi
+/* Exclude targets without keypads set or with not enough plugin buffer.
+ Plugin is about 40k, rounding up to 65k to be safe. */
#if (CONFIG_KEYPAD != SANSA_CLIP_PAD && CONFIG_KEYPAD != SANSA_M200_PAD && \
CONFIG_KEYPAD != CREATIVEZVM_PAD && CONFIG_KEYPAD != CREATIVEZV_PAD && \
- CONFIG_KEYPAD != RECORDER_PAD && CONFIG_KEYPAD != ONDIO_PAD)
+ CONFIG_KEYPAD != PHILIPS_HDD1630_PAD && defined(PLUGIN_BUFFER_SIZE) && \
+ PLUGIN_BUFFER_SIZE >= 0x10000)
goban
#endif
#ifndef OLYMPUS_MROBE_500
diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex
index 73e1648..fd6a610 100644
--- a/manual/plugins/main.tex
+++ b/manual/plugins/main.tex
@@ -35,7 +35,9 @@ text files%
{\input{plugins/flipit.tex}}
+\nopt{recorder,recorderv2fm,ondio}{
\opt{lcd_bitmap}{\input{plugins/goban.tex}}
+}
\opt{player}{\input{plugins/jackpot.tex}}