From 54d8e675303a55cfe31b956ec9ce1f4564b7e846 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 24 Dec 2017 17:53:30 -0500 Subject: [PATCH] duke3d: restrict targets to ARM only Change-Id: I484d6de2d5d4a495ed54e8ee2a80459785b5f5e8 --- apps/plugins/SOURCES | 2 +- apps/plugins/SUBDIRS | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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