From 567ef674f0eb691f07794e00ab2e1212dcd4c076 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 10 Jun 2010 19:30:54 +0000 Subject: Build plugin overlays when buffer size is <= 128kB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26748 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/BUILD_OVERLAY | 2 +- apps/plugins/SOURCES | 4 ++-- apps/plugins/SUBDIRS | 7 ++----- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/BUILD_OVERLAY b/apps/plugins/BUILD_OVERLAY index f792b0e9a4..0afcbfbbf9 100644 --- a/apps/plugins/BUILD_OVERLAY +++ b/apps/plugins/BUILD_OVERLAY @@ -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 diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index bbea275988..9e4b66ec14 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -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 diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index cf1e9d2b80..4074177ce2 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -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 -- cgit v1.2.3