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:
parent
b11767b7ae
commit
7014faee69
25 changed files with 15 additions and 119 deletions
|
@ -27,16 +27,10 @@
|
|||
unsigned char *audiobuf;
|
||||
ssize_t audiobuf_size;
|
||||
|
||||
#ifdef IRIVER_H100_SERIES
|
||||
#define PLATFORM_ID ID_IRIVER_H100
|
||||
#else
|
||||
#undef PLATFORM_ID /* this platform is not (yet) flashable */
|
||||
#ifndef IRIVER_H100_SERIES
|
||||
#error this platform is not (yet) flashable
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_ID
|
||||
|
||||
|
||||
|
||||
#if CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#define KEY1 BUTTON_OFF
|
||||
#define KEY2 BUTTON_ON
|
||||
|
@ -770,5 +764,3 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
||||
#endif /* ifdef PLATFORM_ID */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue