diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-06-11 23:05:41 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-06-11 23:05:41 +0200 |
commit | 10b2143fbf56bd03a2050f06617d5af7dbb911df (patch) | |
tree | 4505a2225194c658dc90e518d3c289d381693a31 | |
parent | d1560e5869f27fd7f362a08bdb64878f11290046 (diff) | |
download | rockbox-10b2143fbf56bd03a2050f06617d5af7dbb911df.tar.gz rockbox-10b2143fbf56bd03a2050f06617d5af7dbb911df.zip |
The threading model should be set from configure, not config.h.
Change-Id: If87bbd4a02825df20e5fe29c4ada85bf5ba25e99
-rw-r--r-- | firmware/export/config.h | 5 | ||||
-rwxr-xr-x | tools/configure | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index d9e32ce8cc..f654609966 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -1133,9 +1133,4 @@ Lyre prototype 1 */ | |||
1133 | #define HAVE_PITCHCONTROL | 1133 | #define HAVE_PITCHCONTROL |
1134 | #endif | 1134 | #endif |
1135 | 1135 | ||
1136 | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(CPU_MIPS) | ||
1137 | /* We don't have our own MIPS hosted threading support yet */ | ||
1138 | #define HAVE_SIGALTSTACK_THREADS | ||
1139 | #endif | ||
1140 | |||
1141 | #endif /* __CONFIG_H__ */ | 1136 | #endif /* __CONFIG_H__ */ |
diff --git a/tools/configure b/tools/configure index a935d6a598..c008395d7c 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -700,6 +700,7 @@ androidmipscc () { | |||
700 | gcctarget="mipsel-linux-android-" | 700 | gcctarget="mipsel-linux-android-" |
701 | gccprefix=$ANDROID_NDK_PATH/toolchains/$gcctarget$gccchoice/prebuilt/$buildhost-x86 | 701 | gccprefix=$ANDROID_NDK_PATH/toolchains/$gcctarget$gccchoice/prebuilt/$buildhost-x86 |
702 | arch_version=32 # FIXME: autodetect version (32 or 64) | 702 | arch_version=32 # FIXME: autodetect version (32 or 64) |
703 | thread_support="HAVE_SIGALTSTACK_THREADS" | ||
703 | PATH=$PATH:$gccprefix/bin | 704 | PATH=$PATH:$gccprefix/bin |
704 | prefixtools $gcctarget | 705 | prefixtools $gcctarget |
705 | GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//` | 706 | GCCOPTS=`echo $CCOPTS | sed -e s/-ffreestanding// -e s/-nostdlib// -e s/-Wundef//` |