]> Git Repo - uclibc-ng.git/blobdiff - extra/Configs/Config.in
resolve merge
[uclibc-ng.git] / extra / Configs / Config.in
index 0f68a9b2ee8cb6c8f809e526b86764d0d0eb9d16..1d382017bc010778b5dcfb543940ba54a6916f88 100644 (file)
@@ -3,7 +3,7 @@
 # see extra/config/Kconfig-language.txt
 #
 
-mainmenu "uClibc $VERSION C Library Configuration"
+mainmenu "uClibc-ng $VERSION C Library Configuration"
 
 config DESIRED_TARGET_ARCH
        string
@@ -45,8 +45,8 @@ choice
        help
          The architecture of your target.
 
-config TARGET_alpha
-       bool "alpha"
+#config TARGET_alpha
+#      bool "alpha"
 
 config TARGET_arc
        bool "arc"
@@ -60,38 +60,40 @@ config TARGET_avr32
 config TARGET_bfin
        bool "bfin"
 
+# someone could sync this tree:
+# http://linux-c6x.org/git/?p=uClibc.git;a=summary
 config TARGET_c6x
        bool "c6x"
 
 config TARGET_cris
        bool "cris"
 
-config TARGET_e1
-       bool "e1 (BROKEN)"
+#config TARGET_e1
+#      bool "e1 (BROKEN)"
 
-config TARGET_frv
-       bool "frv (BROKEN)"
+#config TARGET_frv
+#      bool "frv (BROKEN)"
 
-config TARGET_h8300
-       bool "h8300 (BROKEN)"
+#config TARGET_h8300
+#      bool "h8300 (BROKEN)"
 
-config TARGET_hppa
-       bool "hppa"
+#config TARGET_hppa
+#      bool "hppa"
 
 config TARGET_i386
        bool "i386"
 
-config TARGET_i960
-       bool "i960 (BROKEN)"
+#config TARGET_i960
+#      bool "i960 (BROKEN)"
 
-config TARGET_ia64
-       bool "ia64"
+#config TARGET_ia64
+#      bool "ia64"
 
 config TARGET_m68k
        bool "m68k"
 
-config TARGET_metag
-       bool "metag"
+#config TARGET_metag
+#      bool "metag"
 
 config TARGET_microblaze
        bool "microblaze"
@@ -99,8 +101,8 @@ config TARGET_microblaze
 config TARGET_mips
        bool "mips"
 
-config TARGET_nios
-       bool "nios"
+#config TARGET_nios
+#      bool "nios"
 
 config TARGET_nios2
        bool "nios2"
@@ -111,17 +113,17 @@ config TARGET_powerpc
 config TARGET_sh
        bool "superh"
 
-config TARGET_sh64
-       bool "sh64"
+#config TARGET_sh64
+#      bool "sh64"
 
 config TARGET_sparc
        bool "sparc"
 
-config TARGET_v850
-       bool "v850 (BROKEN)"
+#config TARGET_v850
+#      bool "v850 (BROKEN)"
 
-config TARGET_vax
-       bool "vax"
+#config TARGET_vax
+#      bool "vax"
 
 config TARGET_x86_64
        bool "x86_64"
@@ -418,6 +420,15 @@ config LDSO_RUNPATH
          Usage of RUNPATH tags is not too common, so disabling this feature
          should be safe for most people.
 
+config LDSO_RUNPATH_OF_EXECUTABLE
+       bool "Use executables RPATH/RUNPATH when searching for libraries."
+       depends on LDSO_RUNPATH
+       default n
+       help
+         Use the executables RPATH/RUNPATH to find to find libraries even
+         though this behavour is not standard.  Setting this option causes
+         the uclibc dynamic linker behavour to match the glibc dynamic linker.
+
 config LDSO_SAFE_RUNPATH
        bool "Allow only RUNPATH beginning with /"
        depends on LDSO_RUNPATH
@@ -462,7 +473,7 @@ config LDSO_NO_CLEANUP
          Unless you know you need this, you should answer N.
 
 config UCLIBC_CTOR_DTOR
-       bool "Support global constructors and destructors"
+       boolean
        default y
        help
          If you wish to build uClibc with support for global constructor
@@ -495,7 +506,6 @@ config LDSO_GNU_HASH_SUPPORT
 
 choice
        prompt "Thread support"
-       #default UCLIBC_HAS_THREADS_NATIVE if (TARGET_alpha || TARGET_arm || TARGET_i386 || TARGET_mips || TARGET_powerpc || TARGET_sh || TARGET_sh64)
        default HAS_NO_THREADS
        help
          If you want to compile uClibc with pthread support, then answer Y.
@@ -508,24 +518,22 @@ config HAS_NO_THREADS
        help
          Disable thread support.
 
-config LINUXTHREADS_OLD
-       bool "older (stable) version of linuxthreads"
-       # linuxthreads and linuxthreads.old need nanosleep()
+config UCLIBC_HAS_LINUXTHREADS
+       bool "Enable support for linuxthreads"
+       # linuxthreads need nanosleep()
        select UCLIBC_HAS_REALTIME
-       help
-         There are two versions of linuxthreads.  The older (stable) version
-         has been in uClibc for quite a long time but hasn't seen too many
-         updates other than bugfixes.
-
-
-config LINUXTHREADS_NEW
-       bool "slightly newer version of linuxthreads"
-       depends on ARCH_HAS_DEPRECATED_SYSCALLS
-       help
-         The new version has not been tested much, and lacks ports for arches
-         which glibc does not support (like bfin/frv/etc...), but is based on
-         the latest code from glibc, so it may be the only choice for the
-         newer ports (like alpha/amd64/64bit arches and hppa).
+       depends on !TARGET_arc && \
+                  !TARGET_i386 && \
+                  !TARGET_metag && \
+                  !TARGET_mips && \
+                  !TARGET_powerpc && \
+                  !TARGET_sh && \
+                  !TARGET_sparc && \
+                  !TARGET_x86_64 && \
+                  !TARGET_xtensa
+       help
+         See here for information about linuxthreads:
+         http://en.wikipedia.org/wiki/LinuxThreads
 
 config UCLIBC_HAS_THREADS_NATIVE
        bool "Native POSIX Threading (NPTL)"
@@ -533,24 +541,21 @@ config UCLIBC_HAS_THREADS_NATIVE
        select UCLIBC_HAS_STDIO_FUTEXES
        select UCLIBC_HAS_REALTIME
        # i386 has no lowlevellock support (yet) as opposed to i486 onward
-       depends on !CONFIG_386
+       depends on !CONFIG_386 && \
+                  !TARGET_alpha && \
+                  !TARGET_avr32 && \
+                  !TARGET_bfin && \
+                  !TARGET_c6x && \
+                  !TARGET_cris && \
+                  !TARGET_hppa && \
+                  !TARGET_ia64 && \
+                  !TARGET_m68k && \
+                  !TARGET_microblaze && \
+                  !TARGET_nios2 && \
+                  !TARGET_vax
        help
          If you want to compile uClibc with NPTL support, then answer Y.
 
-         IMPORTANT NOTE!  NPTL requires a Linux 2.6 kernel, binutils
-         at least version 2.16 and GCC with at least version 4.1.0. NPTL
-         will not work with older versions of any above sources. If you
-         ignore any of these guidelines, you do so at your own risk. Do
-         not ask for help on any of the development mailing lists.
-
-         !!!! WARNING !!!! BIG FAT WARNING !!!! REALLY BIG FAT WARNING !!!!
-
-         This is experimental code and at times it may not even build and
-         even if it does it might decide to do random damage. This code is
-         potentially hazardous to your health and sanity. It will remain
-         that way until further notice at which point this notice will
-         disappear. Thank you for your support and for not smoking.
-
 endchoice
 
 config UCLIBC_HAS_THREADS
@@ -581,7 +586,6 @@ config PTHREADS_DEBUG_SUPPORT
          If you are doing development and want to debug applications using
          uClibc's pthread library, answer Y.  Otherwise, answer N.
 
-
 config UCLIBC_HAS_SYSLOG
        bool "Syslog support"
        default y
@@ -1021,9 +1025,9 @@ config UCLIBC_LINUX_SPECIFIC
          ppoll(), readahead(), reboot(), remap_file_pages(),
          sched_getaffinity(), sched_setaffinity(), sendfile(),
          setfsgid(), setfsuid(), setresgid(), setresuid(),
-         splice(), vmsplice(), tee(), signalfd(), swapoff(), swapon(),
-         sync_file_range(), _sysctl(), sysinfo(), timerfd_*(), vhangup(),
-         umount(), umount2()
+         splice(), vmsplice(), tee(), signalfd(), statfs(),
+         swapoff(), swapon(), sync_file_range(), _sysctl(),
+         sysinfo(), timerfd_*(), vhangup(), umount(), umount2()
 
 config UCLIBC_HAS_GNU_ERROR
        bool "Support GNU extensions for error-reporting"
@@ -1430,6 +1434,13 @@ config UCLIBC_HAS_STRING_ARCH_OPT
          These are small and fast, the only reason _not_ to say Y here is
          for debugging purposes.
 
+config UCLIBC_HAS_STDIO_FUTEXES
+       bool "Use futexes for multithreaded I/O locking"
+       depends on UCLIBC_HAS_THREADS_NATIVE
+       help
+         If you want to compile uClibc to use futexes for low-level
+         I/O locking, answer Y.  Otherwise, answer N.
+
 config UCLIBC_HAS_CTYPE_TABLES
        bool "Use Table Versions Of 'ctype.h' Functions."
        default y
@@ -1886,32 +1897,25 @@ config UCLIBC_HAS_GNU_GETOPT
        help
          Answer Y if you want to include full gnu getopt() instead of a
          (much smaller) SUSv3 compatible getopt().
+         Note that getopt_long, getopt_long_only as well as getsubopt
+         are implemented on top of this choice.
 
          Most people will answer Y.
 
-config UCLIBC_HAS_STDIO_FUTEXES
-       bool "Use futexes for multithreaded I/O locking"
-       depends on UCLIBC_HAS_THREADS_NATIVE
-       help
-         If you want to compile uClibc to use futexes for low-level
-         I/O locking, answer Y.  Otherwise, answer N.
-
 config UCLIBC_HAS_GETOPT_LONG
-       bool "Support getopt_long/getopt_long_only"
-       depends on !UCLIBC_HAS_GNU_GETOPT
+       bool "Support getopt_long/getopt_long_only (glibc-compat)"
        default y
        help
-         Answer Y if you want to include getopt_long[_only() used by many
-         apps, even busybox.
+         Answer Y if you want to include getopt_long[_only()] used by many
+         apps.
 
          Most people will answer Y.
 
 config UCLIBC_HAS_GNU_GETSUBOPT
-       bool "Support glibc getsubopt"
+       bool "Support getsubopt"
        default y
        help
-         Answer Y if you want to include glibc getsubopt() instead of a
-         smaller SUSv3 compatible getsubopt().
+         Answer Y if you want to include getsubopt().
 
          Most people will answer Y.
 endmenu
@@ -2329,7 +2333,7 @@ config DODEBUG
 
 config DODEBUG_PT
        bool "Build pthread with debugging output"
-       depends on UCLIBC_HAS_THREADS && LINUXTHREADS_OLD
+       depends on UCLIBC_HAS_THREADS && UCLIBC_HAS_LINUXTHREADS
        help
          Enable debug output in libpthread.  This is only useful when doing
          development in libpthread itself.
@@ -2464,11 +2468,4 @@ config DOMULTI
 
          If unsure, keep the default of N.
 
-config UCLIBC_MJN3_ONLY
-       bool "Manuel's hidden warnings"
-       help
-         Answer Y here to see all Manuel's personal notes, warnings, and todos.
-
-         Most people will answer N.
-
 endmenu
This page took 0.03176 seconds and 4 git commands to generate.