summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-10-07 18:12:02 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-10-07 18:12:02 +0000
commit44964c6641686319788a31bb0ec832e1b5dc7043 (patch)
treef7914f627c1a30af13d1b86a46a442cbd15220e9
parentab78b0468088e9011273edc32d59145db9030a7e (diff)
downloadrockbox-44964c6641686319788a31bb0ec832e1b5dc7043.tar.gz
rockbox-44964c6641686319788a31bb0ec832e1b5dc7043.tar.bz2
rockbox-44964c6641686319788a31bb0ec832e1b5dc7043.zip
Fixed the bootloader compile failure by disabling new directory cache
from bootloader builds (there is not much IRAM space in bootloader for unnecessary code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7589 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index d47ab3d935..f009419e50 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -120,7 +120,7 @@
/* Enable the directory cache if we have plenty of RAM. */
/* Cache is just temporarily disabled for simulator build.
* Do the small fix in dircache.c to enable this. */
-#if MEM > 8 && !defined(SIMULATOR)
+#if MEM > 8 && !defined(BOOTLOADER) && !defined(SIMULATOR)
#define HAVE_DIRCACHE 1
#endif