summaryrefslogtreecommitdiff
path: root/apps/plugins/rockbox_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r--apps/plugins/rockbox_flash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c
index bc7a2c81ab..9a8306e5df 100644
--- a/apps/plugins/rockbox_flash.c
+++ b/apps/plugins/rockbox_flash.c
@@ -20,6 +20,9 @@
****************************************************************************/
#include "plugin.h"
+/* Only build for target */
+#ifndef SIMULATOR
+
#ifndef UINT8
#define UINT8 unsigned char
#endif
@@ -662,3 +665,5 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
return PLUGIN_OK;
}
+
+#endif