Build plugin overlays when buffer size is <= 128kB

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26748 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-06-10 19:30:54 +00:00
parent d5eda4b2a3
commit 567ef674f0
3 changed files with 5 additions and 8 deletions

View File

@ -4,6 +4,6 @@
* they will grep for "YES" to see if overlay plugins must be built
*/
#if PLUGIN_BUFFER_SIZE <= 0x10000 && !defined(SIMULATOR)
#if PLUGIN_BUFFER_SIZE <= 0x20000 && !defined(SIMULATOR)
YES
#endif

View File

@ -68,7 +68,7 @@ iriverify.c
#ifndef SIMULATOR /* those plugins only run on hardware */
/* Overlays loaders */
#if PLUGIN_BUFFER_SIZE <= 0x10000 && defined(HAVE_LCD_BITMAP)
#if PLUGIN_BUFFER_SIZE <= 0x20000 && defined(HAVE_LCD_BITMAP)
#if CONFIG_KEYPAD != ONDIO_PAD && CONFIG_KEYPAD != SANSA_M200_PAD
/* not enough buttons for rockboy */
@ -80,7 +80,7 @@ chessbox.c
goban.c
pictureflow.c
#endif /* PLUGIN_BUFFER_SIZE <= 0x10000 && HAVE_LCD_BITMAP */
#endif /* PLUGIN_BUFFER_SIZE <= 0x20000 && HAVE_LCD_BITMAP */
#if CONFIG_CODEC != SWCODEC

View File

@ -19,7 +19,7 @@ clock
&& (defined(HAVE_LCD_COLOR) || (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) || \
(LCD_HEIGHT == 128) && (LCD_DEPTH == 2)) \
&& (PLUGIN_BUFFER_SIZE >= 0x60000 /* it needs a lot of RAM */ || \
PLUGIN_BUFFER_SIZE <= 0x10000) /* but we can use overlays */
PLUGIN_BUFFER_SIZE <= 0x20000) /* but we can use overlays */
rockboy
#endif
@ -31,10 +31,7 @@ pictureflow
fft
#endif
#if PLUGIN_BUFFER_SIZE > 0x20000 || PLUGIN_BUFFER_SIZE <= 0x10000 /* overlay */
chessbox
#endif
fractals
imageviewer
sudoku
@ -47,7 +44,7 @@ frotz
#endif
#ifndef OLYMPUS_MROBE_500
#if PLUGIN_BUFFER_SIZE > 0x40000 || PLUGIN_BUFFER_SIZE <= 0x10000 /* overlay */
#if PLUGIN_BUFFER_SIZE > 0x40000 || PLUGIN_BUFFER_SIZE <= 0x20000 /* overlay */
zxbox
#endif
#endif