mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
fix mem* wrappers in UI on cygwin, by not building certain plugins on sim, rather than building empty ones
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19856 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6343111e00
commit
04b7cefd63
8 changed files with 12 additions and 28 deletions
|
@ -1,10 +1,8 @@
|
|||
/* plugins common to all models */
|
||||
battery_bench.c
|
||||
chessclock.c
|
||||
credits.c
|
||||
cube.c
|
||||
dict.c
|
||||
firmware_flash.c
|
||||
jackpot.c
|
||||
keybox.c
|
||||
logo.c
|
||||
|
@ -12,7 +10,6 @@ mosaique.c
|
|||
properties.c
|
||||
random_folder_advance_config.c
|
||||
rockblox.c
|
||||
rockbox_flash.c
|
||||
search.c
|
||||
settings_dumper.c
|
||||
snow.c
|
||||
|
@ -24,6 +21,13 @@ viewer.c
|
|||
#ifdef HAVE_BACKLIGHT
|
||||
lamp.c
|
||||
#endif /* HAVE_BACKLIGHT */
|
||||
#ifndef SIMULATOR
|
||||
battery_bench.c
|
||||
firmware_flash.c
|
||||
#endif /* SIMULATOR */
|
||||
#if (CONFIG_CPU == SH7034)
|
||||
rockbox_flash.c
|
||||
#endif /* CONFIG_CPU */
|
||||
|
||||
#ifndef OLYMPUS_MROBE_500
|
||||
|
||||
|
@ -84,7 +88,8 @@ solitaire.c
|
|||
sokoban.c
|
||||
star.c
|
||||
starfield.c
|
||||
#if (CONFIG_LCD == LCD_SSD1815) && (CONFIG_CODEC != SWCODEC)
|
||||
#if (CONFIG_LCD == LCD_SSD1815) && (CONFIG_CODEC != SWCODEC) && \
|
||||
!defined(SIMULATOR)
|
||||
video.c
|
||||
#endif
|
||||
vu_meter.c
|
||||
|
@ -128,7 +133,9 @@ wav2wv.c
|
|||
/* not for Ondio, has no remote control pin */
|
||||
alpine_cdc.c
|
||||
#endif
|
||||
#if defined(HAVE_LCD_BITMAP) && !defined(SIMULATOR)
|
||||
splitedit.c
|
||||
#endif
|
||||
#endif /* CONFIG_CODEC */
|
||||
|
||||
#if LCD_DEPTH > 1 /* non-mono bitmap targets */
|
||||
|
@ -139,7 +146,7 @@ matrix.c
|
|||
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)
|
||||
iriverify.c
|
||||
#endif
|
||||
#if defined(IRIVER_H100_SERIES)
|
||||
#if defined(IRIVER_H100_SERIES) && !defined(SIMULATOR)
|
||||
iriver_flash.c
|
||||
#endif
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef SIMULATOR /* not for the simulator */
|
||||
|
||||
#include "version.h"
|
||||
#include "plugin.h"
|
||||
|
@ -560,5 +559,3 @@ int main(void)
|
|||
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
|
||||
#endif /* SIMULATOR */
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
****************************************************************************/
|
||||
#include "plugin.h"
|
||||
|
||||
/* Only build for (correct) target */
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
#define EXTERN static
|
||||
|
@ -1456,4 +1453,3 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
else
|
||||
return PLUGIN_ERROR;
|
||||
}
|
||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
****************************************************************************/
|
||||
#include "plugin.h"
|
||||
|
||||
#ifndef SIMULATOR /* only for target */
|
||||
|
||||
/* define DUMMY if you only want to "play" with the UI, does no harm */
|
||||
/* #define DUMMY */
|
||||
|
||||
|
@ -1085,4 +1083,3 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
|
||||
#endif /* ifdef PLATFORM_ID */
|
||||
#endif /* #ifndef SIMULATOR */
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
/* All CFI flash routines are copied and ported from firmware_flash.c */
|
||||
|
||||
#ifndef SIMULATOR /* only for target */
|
||||
|
||||
unsigned char *audiobuf;
|
||||
ssize_t audiobuf_size;
|
||||
|
||||
|
@ -815,4 +813,3 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
|
||||
#endif /* ifdef PLATFORM_ID */
|
||||
#endif /* #ifndef SIMULATOR */
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
#ifndef SIMULATOR
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
/* variable button definitions */
|
||||
|
@ -1271,5 +1268,3 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
return splitedit_exit_code;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "system.h"
|
||||
#include "lib/helper.h"
|
||||
|
||||
#ifndef SIMULATOR /* not for simulator by now */
|
||||
#ifdef HAVE_LCD_BITMAP /* and definitely not for the Player, haha */
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
@ -1026,5 +1025,4 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
}
|
||||
|
||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
||||
#endif /* #ifndef SIMULATOR */
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#include "plugin.h"
|
||||
#include "lib/fixedpoint.h"
|
||||
|
||||
#if defined(HAVE_LCD_BITMAP)
|
||||
|
||||
PLUGIN_HEADER
|
||||
|
||||
/* variable button definitions */
|
||||
|
@ -822,4 +820,3 @@ enum plugin_status plugin_start(const void* parameter) {
|
|||
lastbutton = button;
|
||||
}
|
||||
}
|
||||
#endif /* #ifdef HAVE_LCD_BITMAP */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue