summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/debug_menu.c6
-rw-r--r--apps/main.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ec30477698..ca06907618 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -460,7 +460,7 @@ static bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device,
460} 460}
461#endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */ 461#endif /* (CONFIG_CPU == SH7034 || CPU_COLDFIRE) */
462 462
463#ifndef SIMULATOR 463#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
464#ifdef CPU_PP 464#ifdef CPU_PP
465static int perfcheck(void) 465static int perfcheck(void)
466{ 466{
@@ -663,7 +663,7 @@ static bool dbg_hw_info(void)
663 663
664 while (!(action_userabort(TIMEOUT_BLOCK))); 664 while (!(action_userabort(TIMEOUT_BLOCK)));
665 665
666#elif (CONFIG_PLATFORM & PLATFORM_NATIVE) 666#else
667 /* Define this function in your target tree */ 667 /* Define this function in your target tree */
668 return __dbg_hw_info(); 668 return __dbg_hw_info();
669#endif /* CONFIG_CPU */ 669#endif /* CONFIG_CPU */
@@ -756,7 +756,7 @@ static bool dbg_hw_info(void)
756 return false; 756 return false;
757} 757}
758#endif /* !HAVE_LCD_BITMAP */ 758#endif /* !HAVE_LCD_BITMAP */
759#endif /* !SIMULATOR */ 759#endif /* PLATFORM_NATIVE */
760 760
761#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 761#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
762static const char* dbg_partitions_getname(int selected_item, void *data, 762static const char* dbg_partitions_getname(int selected_item, void *data,
diff --git a/apps/main.c b/apps/main.c
index b3252d8bd8..f1f30ce2b5 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -112,9 +112,10 @@
112#include "m5636.h" 112#include "m5636.h"
113#endif 113#endif
114 114
115#ifdef SIMULATOR 115#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
116#include "sim_tasks.h" 116#include "sim_tasks.h"
117#endif 117#endif
118
118#ifdef HAVE_SDL 119#ifdef HAVE_SDL
119#include "system-sdl.h" 120#include "system-sdl.h"
120#endif 121#endif