diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/Configs/Config.in | 52 | ||||
-rw-r--r-- | extra/Configs/Config.nios | 2 | ||||
-rwxr-xr-x | extra/scripts/create_makefiles.sh | 32 |
3 files changed, 67 insertions, 19 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 16d1c07c2..46b3d55c2 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -350,7 +350,7 @@ config PTHREADS_DEBUG_SUPPORT config LINUXTHREADS_OLD bool "Use the older (stable) version of linuxthreads" default y - depends on UCLIBC_HAS_THREADS && !UCLIBC_HAS_THREADS_NATIVE + depends on UCLIBC_HAS_THREADS 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 @@ -467,6 +467,32 @@ config HAS_SHADOW Answer N if you do not need shadow password support. Most people will answer Y. +config UCLIBC_HAS_PROGRAM_INVOCATION_NAME + bool "Support for program_invocation_name" + default n + help + Support for the GNU-specific program_invocation_name and + program_invocation_short_name strings. Some GNU packages + (like tar and coreutils) utilize these for extra useful + output, but in general are not required. + + At startup, these external strings are automatically set + up based on the value of ARGV[0]. + + If unsure, just answer N. + +config UCLIBC_HAS___PROGNAME + bool "Support for __progname" + default y + help + Some packages (like openssh) like to peek into internal libc + symbols to make their output a bit more user friendly. + + At startup, __progname is automatically set up based on the + value of ARGV[0]. + + If unsure, just answer N. + config UNIX98PTY_ONLY bool "Support only Unix 98 PTYs" default y @@ -1053,7 +1079,7 @@ config UCLIBC_HAS_GNU_GETOPT config UCLIBC_HAS_STDIO_FUTEXES bool "Use futexes for multithreaded I/O locking" - default y + default n depends on UCLIBC_HAS_THREADS_NATIVE help If you want to compile uClibc to use futexes for low-level @@ -1088,8 +1114,30 @@ config UCLIBC_HAS_REGEX_OLD support, then stick with the old version (and say Y here). Otherwise, you should use the new version (and say N here). +config UCLIBC_HAS_FNMATCH + bool "fnmatch Support" + default y + help + POSIX fnmatch. + +config UCLIBC_HAS_FNMATCH_OLD + bool "Use the older (stable) fnmatch code" + depends on UCLIBC_HAS_FNMATCH + default y + help + There are two versions of fnmatch. The older (stable) version has + been in uClibc for quite a long time but hasn't seen too many + updates. It also has some known issues when dealing with uncommon + corner cases and multibyte/unicode strings. However, it is quite + a bit smaller than the newer version. + + If the older version has worked for you and you don't need unicode + support, then stick with the old version (and say Y here). + Otherwise, you should use the new version (and say N here). + config UCLIBC_HAS_WORDEXP bool "Support the wordexp() interface" + depends on UCLIBC_HAS_GLOB default n help The SuSv3 wordexp() interface performs word expansions per the Shell diff --git a/extra/Configs/Config.nios b/extra/Configs/Config.nios index 5ca9e96c4..32612d083 100644 --- a/extra/Configs/Config.nios +++ b/extra/Configs/Config.nios @@ -15,7 +15,7 @@ config HAVE_ELF config ARCH_CFLAGS string - default "-m32 -funaligned-struct-hack" + default "-funaligned-struct-hack" config LIBGCC_CFLAGS string diff --git a/extra/scripts/create_makefiles.sh b/extra/scripts/create_makefiles.sh index 89ea4a9b6..1d94b0d13 100755 --- a/extra/scripts/create_makefiles.sh +++ b/extra/scripts/create_makefiles.sh @@ -27,45 +27,45 @@ ${USE_CMD} extra/scripts/Makefile.libs.lvl0 Makefile #done for x in */Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.libs.lvl1 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.libs.lvl1 `dirname ${x}`/Makefile done for x in utils/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.utils.lvl1 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.utils.lvl1 `dirname ${x}`/Makefile done for x in */*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl2 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl2 `dirname ${x}`/Makefile done # overwrites the earlier ones, we do not add arch specific to libm/arch for x in ldso/*/Makefile.in libpthread/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.libs.lvl2 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.libs.lvl2 `dirname ${x}`/Makefile done for x in */*/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl3 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl3 `dirname ${x}`/Makefile done for x in libc/*/*/Makefile.arch ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.arch.lvl3 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.arch.lvl3 `dirname ${x}`/Makefile done for x in */*/*/*/Makefile.in ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.objs.lvl4 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.objs.lvl4 `dirname ${x}`/Makefile done # we do not add these to libpthread/PTNAME/sysdeps/arch for x in libc/*/*/*/Makefile.arch ; do - ${RM} $(dirname ${x})/Makefile - ${USE_CMD} extra/scripts/Makefile.arch.lvl4 $(dirname ${x})/Makefile + ${RM} `dirname ${x}`/Makefile + ${USE_CMD} extra/scripts/Makefile.arch.lvl4 `dirname ${x}`/Makefile done exit 0 |