diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-27 20:22:06 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-05-27 20:22:06 +0000 |
commit | de5df0533c0bde20f08d788543feac6915a2a5f7 (patch) | |
tree | 93bb27024a37f3953b8ae0ecc2af9dc06e0def8c /config/target.in | |
parent | 266e38cc13fe4f1388dfc792349a9dc333b87de6 (diff) | |
download | crosstool-ng-de5df0533c0bde20f08d788543feac6915a2a5f7.tar.gz crosstool-ng-de5df0533c0bde20f08d788543feac6915a2a5f7.tar.bz2 crosstool-ng-de5df0533c0bde20f08d788543feac6915a2a5f7.zip |
Merge the NPTL stuff.
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
Diffstat (limited to 'config/target.in')
-rw-r--r-- | config/target.in | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/config/target.in b/config/target.in index 5cad7827..1fcfc30c 100644 --- a/config/target.in +++ b/config/target.in @@ -19,53 +19,74 @@ choice config ARCH_ARM bool prompt "arm" - select ARCH_SUPPORTS_BE - select ARCH_SUPPORTS_LE + select ARCH_SUPPORTS_BOTH_ENDIAN select ARCH_SUPPORTS_LIBFLOAT config ARCH_MIPS bool prompt "mips" - select ARCH_SUPPORTS_BE - select ARCH_SUPPORTS_LE + select ARCH_SUPPORTS_BOTH_ENDIAN config ARCH_x86 bool prompt "x86" - select ARCH_SUPPORTS_LE select ARCH_SUPPORTS_LIBFLOAT config ARCH_x86_64 bool prompt "x86_64" - select ARCH_SUPPORTS_LE endchoice -config ARCH_SUPPORTS_BE - bool - default n - -config ARCH_SUPPORTS_LE +config ARCH_SUPPORTS_BOTH_ENDIAN bool default n choice bool prompt "Endianness:" + depends on ARCH_SUPPORTS_BOTH_ENDIAN config ARCH_BE bool prompt "Big endian" - depends on ARCH_SUPPORTS_BE config ARCH_LE bool prompt "Little endian" - depends on ARCH_SUPPORTS_LE endchoice +choice + bool + prompt "Threading implentation to use:" + default THREADS_NPTL if LIBC_SUPPORT_NPTL + default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + +config THREADS_NPTL + bool + prompt "nptl (EXPERIMENTAL)" + depends on LIBC_SUPPORT_NPTL + depends on EXPERIMENTAL + +config THREADS_LINUXTHREADS + bool + prompt "linuxthreads" + depends on LIBC_SUPPORT_LINUXTHREADS + +config THREADS_NONE + bool + prompt "none" + +endchoice + +config THREADS + string + default "nptl" if THREADS_NPTL + default "linuxthreads" if THREADS_LINUXTHREADS + default "none" if THREADS_NONE + comment "Target optimisations" config ARCH_ARCH |