summaryrefslogtreecommitdiff
path: root/apps/plugins/SUBDIRS
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
commita01422c54be29cf721a442053fd5a70686c8841e (patch)
tree7d0203b0420fe60d99063af63fe00c307fb30369 /apps/plugins/SUBDIRS
parentdcbd8d74c6f6af7e91c707c33f807f9d9708cf8c (diff)
downloadrockbox-a01422c54be29cf721a442053fd5a70686c8841e.tar.gz
rockbox-a01422c54be29cf721a442053fd5a70686c8841e.zip
plugins: changes for targets with small plugin buffer (Clipv1)
- only enable overlays for targets with very small plugin buffer (<= 0x10000 bytes, i.e. archos) - change the condition for rockboy to reflect exactly why it can be built or not - Some plugins need a large plugin buffer, only enable them if the buffer is big enough (sizes measured on Clipv1) - disable MIDI if we have 2MB (or less), we won't be able to load the instruments in the audio buffer - remove unusable lua overlay loader - sokoban code is bigger on clipv1 than on SH, assume it code is 20kB on anything but SH so it builds with buffer smaller than 192kB - reduce the Clipv1 plugin buffer size from 288kB to 96kb, disabling zxbox, chessbox, and fft zxbox and chessbox have overlays which run on archos, we just need to enable them on other targets. We'll also be able to run rockboy. fft won't run as it needs a large plugin buffer for greylib git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/SUBDIRS')
-rw-r--r--apps/plugins/SUBDIRS25
1 files changed, 19 insertions, 6 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS
index 2a88e7d1b1..18d9db8ef2 100644
--- a/apps/plugins/SUBDIRS
+++ b/apps/plugins/SUBDIRS
@@ -7,23 +7,32 @@ shortcuts
7clock 7clock
8#endif 8#endif
9 9
10#if (CONFIG_KEYPAD == RECORDER_PAD) || defined(HAVE_LCD_COLOR) \
11 || defined(IRIVER_H100_SERIES) || defined(IAUDIO_M5) /* FIXME */
12rockboy
13#endif
14 10
15/* For all targets with a bitmap display */ 11/* For all targets with a bitmap display */
16#ifdef HAVE_LCD_BITMAP 12#ifdef HAVE_LCD_BITMAP
17 13
14#if (CONFIG_KEYPAD != ONDIO_PAD) /* not enough buttons */ \
15 && (LCD_PIXELFORMAT != HORIZONTAL_PACKING) /* TODO */ \
16 && (LCD_PIXELFORMAT != VERTICAL_INTERLEAVED) /* TODO */ \
17 && (defined(HAVE_LCD_COLOR) || (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) || \
18 (LCD_HEIGHT == 128) && (LCD_DEPTH == 2)) \
19 && (PLUGIN_BUFFER_SIZE >= 0x60000 /* it needs a lot of RAM */ || \
20 PLUGIN_BUFFER_SIZE <= 0x10000) /* but we can use overlays */
21rockboy
22#endif
23
18#ifdef HAVE_TAGCACHE 24#ifdef HAVE_TAGCACHE
19pictureflow 25pictureflow
20#endif 26#endif
21 27
22#if (CONFIG_CODEC == SWCODEC) 28#if CONFIG_CODEC == SWCODEC && PLUGIN_BUFFER_SIZE > 0x20000
23fft 29fft
24#endif 30#endif
25 31
32#if PLUGIN_BUFFER_SIZE > 0x20000 || PLUGIN_BUFFER_SIZE <= 0x10000 /* overlay */
26chessbox 33chessbox
34#endif
35
27fractals 36fractals
28imageviewer 37imageviewer
29sudoku 38sudoku
@@ -36,8 +45,10 @@ frotz
36#endif 45#endif
37 46
38#ifndef OLYMPUS_MROBE_500 47#ifndef OLYMPUS_MROBE_500
48#if PLUGIN_BUFFER_SIZE > 0x40000 || PLUGIN_BUFFER_SIZE <= 0x10000 /* overlay */
39zxbox 49zxbox
40#endif 50#endif
51#endif
41 52
42#endif /* HAVE_LCD_BITMAP */ 53#endif /* HAVE_LCD_BITMAP */
43 54
@@ -56,7 +67,9 @@ doom
56/* For all the swcodec targets */ 67/* For all the swcodec targets */
57#if CONFIG_CODEC == SWCODEC 68#if CONFIG_CODEC == SWCODEC
58 69
70#if MEMORYSIZE > 2 /* we need a lot of RAM for instruments */
59midi 71midi
72#endif
60 73
61/* beatbox */ 74/* beatbox */
62#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) 75#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES)
@@ -71,6 +84,6 @@ mpegplayer
71#endif /* CONFIG_CODEC == SWCODEC */ 84#endif /* CONFIG_CODEC == SWCODEC */
72 85
73/* Lua needs at least 160 KB to work in */ 86/* Lua needs at least 160 KB to work in */
74#if (PLUGIN_BUFFER_SIZE >= 0x80000) 87#if PLUGIN_BUFFER_SIZE >= 0x80000
75lua 88lua
76#endif 89#endif