diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 132dd534f2..1ae0144866 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -76,7 +76,7 @@ iriverify.c #if defined(HAVE_LCD_COLOR) && \ (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE)) -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000) +#if (PLUGIN_BUFFER_SIZE > 0x14000) && defined(CPU_ARM) duke3d.c #endif #endif diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 62b1a6a83d..07c435123c 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -18,7 +18,8 @@ clock xworld /* for duke, etc. */ -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000) +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000) && \ + defined(CPU_ARM) sdl #endif