From 3e164cb8da811e03629b7dd054bf7d3873081a18 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Fri, 10 Feb 2006 20:03:23 +0000 Subject: Do not compile grayscale lib (and plugins needing it) for the iPod Grayscale LCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8653 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 11 ++++++++--- apps/plugins/lib/SOURCES | 3 ++- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index dfc0e3329b..32fec1bae0 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -21,11 +21,18 @@ metronome.c #ifndef IRIVER_IFP7XX_SERIES /* Temporarily disable plugins for iFP7xx */ #ifdef HAVE_LCD_BITMAP /* Recorder/Ondio models only */ -solitaire.c + +/* Plugins needing the grayscale lib */ +#if CONFIG_LCD != LCD_IPOD2BPP #ifndef HAVE_LCD_COLOR fire.c plasma.c #endif +jpeg.c +mandelbrot.c +#endif + +solitaire.c bejeweled.c bounce.c /* H300 and iPod Color/Video only */ @@ -37,8 +44,6 @@ chip8.c demystify.c flipit.c grayscale.c -jpeg.c -mandelbrot.c minesweeper.c oscillograph.c oscilloscope.c diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES index 0f6e13ebb4..d9eb00ca4d 100644 --- a/apps/plugins/lib/SOURCES +++ b/apps/plugins/lib/SOURCES @@ -1,6 +1,7 @@ configfile.c highscore.c -#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) +#if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) && \ + (CONFIG_LCD != LCD_IPOD2BPP) gray_core.c gray_draw.c gray_parm.c -- cgit v1.2.3