From 710ccb7b483da9be9543ea40a99dee7fd6f8fa98 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 25 Oct 2006 10:17:57 +0000 Subject: ifdef all the tagcache code, allows rombox to be compiled again, Thanks Austin Appel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-e200.h | 3 +++ firmware/export/config-fmrecorder.h | 3 +++ firmware/export/config-gigabeat.h | 3 +++ firmware/export/config-gmini120.h | 3 +++ firmware/export/config-gminisp.h | 3 +++ firmware/export/config-h10.h | 3 +++ firmware/export/config-h100.h | 3 +++ firmware/export/config-h10_5gb.h | 2 ++ firmware/export/config-h120.h | 3 +++ firmware/export/config-h300.h | 3 +++ firmware/export/config-iaudiox5.h | 3 +++ firmware/export/config-ifp7xx.h | 3 +++ firmware/export/config-ipod3g.h | 3 +++ firmware/export/config-ipod4g.h | 3 +++ firmware/export/config-ipodcolor.h | 3 +++ firmware/export/config-ipodmini.h | 3 +++ firmware/export/config-ipodmini2g.h | 3 +++ firmware/export/config-ipodnano.h | 3 +++ firmware/export/config-ipodvideo.h | 3 +++ firmware/export/config-ondiofm.h | 3 +++ firmware/export/config-ondiosp.h | 3 +++ firmware/export/config-player.h | 3 +++ firmware/export/config-recorder.h | 3 +++ firmware/export/config-recorderv2.h | 3 +++ firmware/export/config.h | 2 ++ 25 files changed, 73 insertions(+) (limited to 'firmware/export') diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index 3793a716ec..e0c245725a 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h @@ -18,6 +18,9 @@ /* define this if you have access to the quickscreen */ #define HAVE_QUICKSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 176 #define LCD_HEIGHT 220 diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h index 995ca3658b..d9377bc6f9 100644 --- a/firmware/export/config-fmrecorder.h +++ b/firmware/export/config-fmrecorder.h @@ -15,6 +15,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 112 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h index fee2b79b2e..ea72c348ea 100644 --- a/firmware/export/config-gigabeat.h +++ b/firmware/export/config-gigabeat.h @@ -14,6 +14,9 @@ /* define this if you have a colour LCD */ #define HAVE_LCD_COLOR 1 +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 240 #define LCD_HEIGHT 320 diff --git a/firmware/export/config-gmini120.h b/firmware/export/config-gmini120.h index 5aed9a5f7d..a393b17a8a 100644 --- a/firmware/export/config-gmini120.h +++ b/firmware/export/config-gmini120.h @@ -16,6 +16,9 @@ /* define this if you have RTC RAM available for settings */ #define HAVE_RTC_RAM 1 +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 128 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-gminisp.h b/firmware/export/config-gminisp.h index b309c173a9..1c1f299afa 100644 --- a/firmware/export/config-gminisp.h +++ b/firmware/export/config-gminisp.h @@ -7,6 +7,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 128 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index dbb7583304..8cea98d2bf 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 71baa83100..12f1066d3a 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -24,6 +24,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h index 6fcc0f29f0..26042e8042 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h @@ -22,6 +22,8 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE /* LCD dimensions */ #define LCD_WIDTH 128 diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index d8038f21af..21451dcdac 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h @@ -20,6 +20,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h index c42965d082..c9aad436f1 100644 --- a/firmware/export/config-h300.h +++ b/firmware/export/config-h300.h @@ -20,6 +20,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 220 #define LCD_HEIGHT 176 diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index 83f0767723..df24850892 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h @@ -24,6 +24,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h index cebb319a13..9b8693a659 100644 --- a/firmware/export/config-ifp7xx.h +++ b/firmware/export/config-ifp7xx.h @@ -15,6 +15,9 @@ /* define this if you have a colour LCD */ /* #define HAVE_LCD_COLOR 1 */ +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 128 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h index 446f56be8e..1cb4f883f7 100644 --- a/firmware/export/config-ipod3g.h +++ b/firmware/export/config-ipod3g.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h index cbaa1504f5..065c653fab 100644 --- a/firmware/export/config-ipod4g.h +++ b/firmware/export/config-ipod4g.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 160 #define LCD_HEIGHT 128 diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h index 1c583e98ca..efc57265a0 100644 --- a/firmware/export/config-ipodcolor.h +++ b/firmware/export/config-ipodcolor.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 220 #define LCD_HEIGHT 176 diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 09ce7d6868..2e5da2e447 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 138 #define LCD_HEIGHT 110 diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h index 5020ac6952..8f1fc1ad9f 100755 --- a/firmware/export/config-ipodmini2g.h +++ b/firmware/export/config-ipodmini2g.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 138 #define LCD_HEIGHT 110 diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index e4a2b80d6f..db85fa8ee8 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 176 #define LCD_HEIGHT 132 diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index 113bcc229a..543bfbfe65 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -22,6 +22,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 320 #define LCD_HEIGHT 240 diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h index 745b1ba782..0ccba0de20 100644 --- a/firmware/export/config-ondiofm.h +++ b/firmware/export/config-ondiofm.h @@ -10,6 +10,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 112 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h index 19c59c3aca..a535e47905 100644 --- a/firmware/export/config-ondiosp.h +++ b/firmware/export/config-ondiosp.h @@ -7,6 +7,9 @@ /* define this if you can invert the colours on your LCD */ #define HAVE_LCD_INVERT +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 112 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h index 3dfdb0e727..76f3415db3 100644 --- a/firmware/export/config-player.h +++ b/firmware/export/config-player.h @@ -1,6 +1,9 @@ /* define this if you have a charcell LCD display */ #define HAVE_LCD_CHARCELLS 1 +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions (for the simulator) */ #define LCD_WIDTH 132 /* Display width in pixels */ #define LCD_HEIGHT 64 /* Display height in pixels */ diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index a3ba43ee7f..4b79e0b3ae 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h @@ -15,6 +15,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 112 #define LCD_HEIGHT 64 diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h index 58a0b78ebe..38ca974761 100644 --- a/firmware/export/config-recorderv2.h +++ b/firmware/export/config-recorderv2.h @@ -15,6 +15,9 @@ /* define this if you have access to the pitchscreen */ #define HAVE_PITCHSCREEN +/* define this if you would like tagcache to build on this target */ +#define HAVE_TAGCACHE + /* LCD dimensions */ #define LCD_WIDTH 112 #define LCD_HEIGHT 64 diff --git a/firmware/export/config.h b/firmware/export/config.h index 6a3091de30..6f6d253fe9 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -217,8 +217,10 @@ * plenty of RAM. Both features can be enabled independently. */ #if (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER) #define HAVE_DIRCACHE +#ifdef HAVE_TAGCACHE #define HAVE_TC_RAMCACHE #endif +#endif #if (CONFIG_CODEC == SWCODEC) && !defined(SIMULATOR) && !defined(BOOTLOADER) #define HAVE_PRIORITY_SCHEDULING -- cgit v1.2.3