From 10b2143fbf56bd03a2050f06617d5af7dbb911df Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Mon, 11 Jun 2012 23:05:41 +0200 Subject: The threading model should be set from configure, not config.h. Change-Id: If87bbd4a02825df20e5fe29c4ada85bf5ba25e99 --- firmware/export/config.h | 5 ----- tools/configure | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/firmware/export/config.h b/firmware/export/config.h index d9e32ce..f654609 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -1133,9 +1133,4 @@ Lyre prototype 1 */ #define HAVE_PITCHCONTROL #endif -#if (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(CPU_MIPS) -/* We don't have our own MIPS hosted threading support yet */ -#define HAVE_SIGALTSTACK_THREADS -#endif - #endif /* __CONFIG_H__ */ diff --git a/tools/configure b/tools/configure index a935d6a..c008395 100755 --- a/tools/configure +++ b/tools/configure @@ -700,6 +700,7 @@ androidmipscc () { gcctarget="mipsel-linux-android-" gccprefix=$ANDROID_NDK_PATH/toolchains/$gcctarget$gccchoice/prebuilt/$buildhost-x86 arch_version=32 # FIXME: autodetect version (32 or 64) + thread_support="HAVE_SIGALTSTACK_THREADS" PATH=$PATH:$gccprefix/bin prefixtools $gcctarget GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//` -- cgit v1.1