diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 37ea9a1dd7..65f05b3e8e 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -635,6 +635,12 @@ Lyre prototype 1 */ | |||
635 | #endif | 635 | #endif |
636 | #endif | 636 | #endif |
637 | 637 | ||
638 | #if defined(__PCTOOL__) || defined(SIMULATOR) | ||
639 | #ifndef CONFIG_PLATFORM | ||
640 | #define CONFIG_PLATFORM PLATFORM_HOSTED | ||
641 | #endif | ||
642 | #endif | ||
643 | |||
638 | #ifndef CONFIG_PLATFORM | 644 | #ifndef CONFIG_PLATFORM |
639 | #define CONFIG_PLATFORM PLATFORM_NATIVE | 645 | #define CONFIG_PLATFORM PLATFORM_NATIVE |
640 | #endif | 646 | #endif |
@@ -893,7 +899,8 @@ Lyre prototype 1 */ | |||
893 | #endif | 899 | #endif |
894 | 900 | ||
895 | /* Bootloaders don't need multivolume awareness */ | 901 | /* Bootloaders don't need multivolume awareness */ |
896 | #if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME) && !(CONFIG_PLATFORM & PLATFORM_HOSTED) | 902 | #if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME) \ |
903 | && !(CONFIG_PLATFORM & PLATFORM_HOSTED) && !defined(BOOT_REDIR) | ||
897 | #undef HAVE_MULTIVOLUME | 904 | #undef HAVE_MULTIVOLUME |
898 | #endif | 905 | #endif |
899 | 906 | ||
@@ -1252,10 +1259,14 @@ Lyre prototype 1 */ | |||
1252 | # define INCLUDE_TIMEOUT_API | 1259 | # define INCLUDE_TIMEOUT_API |
1253 | #endif | 1260 | #endif |
1254 | 1261 | ||
1255 | #ifndef SIMULATOR | 1262 | #if (!defined(SIMULATOR) && !defined(HAVE_HOSTFS) && !(CONFIG_STORAGE & STORAGE_HOSTFS)) |
1256 | #if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) || (CONFIG_STORAGE & STORAGE_RAMDISK) | ||
1257 | #define STORAGE_GET_INFO | 1263 | #define STORAGE_GET_INFO |
1258 | #endif | 1264 | #endif |
1265 | |||
1266 | #if defined(HAVE_SIGALTSTACK_THREADS) | ||
1267 | #ifndef _XOPEN_SOURCE | ||
1268 | #define _XOPEN_SOURCE 600 /* For sigaltstack */ | ||
1269 | #endif | ||
1259 | #endif | 1270 | #endif |
1260 | 1271 | ||
1261 | #ifdef CPU_MIPS | 1272 | #ifdef CPU_MIPS |