summaryrefslogtreecommitdiffstats
path: root/apps/plugins/SUBDIRS
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-05-22 10:44:32 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-05-22 10:44:32 +0000
commit8872b60fb92da185ad3e387730fa1b57c6fbe11a (patch)
tree996c4b930c0306019867fdbeac01d1b0d5ccda30 /apps/plugins/SUBDIRS
parente2e68c98404785247f4018b4996bc36a910971ba (diff)
downloadrockbox-8872b60fb92da185ad3e387730fa1b57c6fbe11a.tar.gz
rockbox-8872b60fb92da185ad3e387730fa1b57c6fbe11a.zip
Don't build mpegplayer on targets with 2MB of RAM or less since it won't run
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21033 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/SUBDIRS')
-rw-r--r--apps/plugins/SUBDIRS2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS
index 9c7745fd24..d94a247f35 100644
--- a/apps/plugins/SUBDIRS
+++ b/apps/plugins/SUBDIRS
@@ -48,9 +48,11 @@ doom
midi
/* beatbox */
#ifndef RB_PROFILE
+#if MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */
mpegplayer
#endif
#endif
+#endif
/* Lua needs at least 160 KB to work in */
#if (PLUGIN_BUFFER_SIZE >= 0x80000)