1
0
Fork 0
forked from len0rd/rockbox

Remove build conditions inside .c plugin files

Rather use the Makefile to specify which files must be built
Fix color builds with test plugins enabled (test_scanrate gave an empty
.o file)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-08-25 19:00:58 +00:00
parent b11767b7ae
commit 7014faee69
25 changed files with 15 additions and 119 deletions

View file

@ -33,11 +33,6 @@
#include "plugin.h"
/* Only build for (correct) target */
#if CONFIG_CPU==SH7034 && !(CONFIG_STORAGE & STORAGE_MMC)
#ifdef HAVE_LCD_CHARCELLS /* player model */
#define LINES 2
#define COLUMNS 11
@ -1198,5 +1193,3 @@ enum plugin_status plugin_start(const void* parameter)
/* now go ahead and have fun! */
return (main(parameter)==0) ? PLUGIN_OK : PLUGIN_ERROR;
}
#endif /* CONFIG_CPU==SH7034 && !(CONFIG_STORAGE & STORAGE_MMC) */