diff options
Diffstat (limited to 'extra/Configs/Config.in')
-rw-r--r-- | extra/Configs/Config.in | 123 |
1 files changed, 100 insertions, 23 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 151ca35d2..64d4a9fb3 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -21,7 +21,7 @@ config TARGET_bfin bool "bfin (BROKEN)" config TARGET_cris - bool "cris (BROKEN)" + bool "cris" config TARGET_e1 bool "e1 (BROKEN)" @@ -41,6 +41,9 @@ config TARGET_i386 config TARGET_i960 bool "i960 (BROKEN)" +config TARGET_ia64 + bool "ia64" + config TARGET_m68k bool "m68k" @@ -51,10 +54,10 @@ config TARGET_mips bool "mips" config TARGET_nios - bool "nios (BROKEN)" + bool "nios" config TARGET_nios2 - bool "nios2 (BROKEN)" + bool "nios2" config TARGET_powerpc bool "powerpc" @@ -71,6 +74,9 @@ config TARGET_sparc config TARGET_v850 bool "v850 (BROKEN)" +config TARGET_vax + bool "vax" + config TARGET_x86_64 bool "x86_64" @@ -119,6 +125,10 @@ if TARGET_i960 source "extra/Configs/Config.i960" endif +if TARGET_ia64 +source "extra/Configs/Config.ia64" +endif + if TARGET_m68k source "extra/Configs/Config.m68k" endif @@ -159,6 +169,10 @@ if TARGET_v850 source "extra/Configs/Config.v850" endif +if TARGET_vax +source "extra/Configs/Config.vax" +endif + if TARGET_x86_64 source "extra/Configs/Config.x86_64" endif @@ -217,7 +231,7 @@ config FORCE_SHAREABLE_TEXT_SEGMENTS coded shared libraries. config LDSO_LDD_SUPPORT - bool "Native shared library loader 'ldd' support" + bool "Native 'ldd' support" depends on HAVE_SHARED default y help @@ -228,7 +242,7 @@ config LDSO_LDD_SUPPORT shared library loader a little bit smaller. Most people will answer Y. config LDSO_CACHE_SUPPORT - bool "Enable shared library loader cache" + bool "Enable library loader cache (ld.so.conf)" depends on HAVE_SHARED default y help @@ -238,7 +252,7 @@ config LDSO_CACHE_SUPPORT the /etc/ld.so.cache shared library loader cache file. config LDSO_PRELOAD_FILE_SUPPORT - bool "Enable shared library loader preload file support" + bool "Enable library loader preload file (ld.so.preload)" depends on HAVE_SHARED default n help @@ -263,6 +277,18 @@ config LDSO_BASE_FILENAME WARNING: Changing the default prefix could cause problems with binutils' ld ! +config UCLIBC_STATIC_LDCONFIG + bool "Link ldconfig statically" + depends on HAVE_SHARED + default y + help + Enable this option to statically link the ldconfig binary. + + Making ldconfig static can be beneficial if you have a library + problem and need to use ldconfig to recover. Sometimes, it is + preferable to instead keep the size of the system down, in which + case you should disable this option. + config LDSO_RUNPATH bool "Enable ELF RUNPATH tag support" depends on HAVE_SHARED @@ -278,6 +304,7 @@ config LDSO_RUNPATH config UCLIBC_CTOR_DTOR bool "Support global constructors and destructors" + depends on !TARGET_bfin default y help If you wish to build uClibc with support for global constructor @@ -370,21 +397,10 @@ config UCLIBC_HAS_LFS if you are using an older Linux kernel (2.0.x) that lacks large file support. Enabling this option will increase the size of uClibc. -config UCLIBC_STATIC_LDCONFIG - bool "Link ldconfig statically" - default y - help - Enable this option to statically link the ldconfig binary. - - Making ldconfig static can be beneficial if you have a library - problem and need to use ldconfig to recover. Sometimes, it is - preferable to instead keep the size of the system down, in which - case you should disable this option. - choice prompt "Malloc Implementation" - default MALLOC if ! ARCH_HAS_MMU - default MALLOC_STANDARD if ARCH_HAS_MMU + default MALLOC if ! ARCH_USE_MMU + default MALLOC_STANDARD if ARCH_USE_MMU help "malloc" use mmap for all allocations and so works very well on MMU-less systems that do not support the brk() system call. It is pretty smart @@ -416,7 +432,7 @@ config MALLOC_SIMPLE config MALLOC_STANDARD bool "malloc-standard" - depends on ARCH_HAS_MMU + depends on ARCH_USE_MMU endchoice @@ -1099,6 +1115,24 @@ config UCLIBC_HAS_STDIO_FUTEXES 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 !UCLIBC_HAS_GNU_GETOPT + default y + help + Answer Y if you want to include getopt_long[_only() used by many + apps, even busybox. + + Most people will answer Y. + +config UCLIBC_HAS_GNU_GETSUBOPT + bool "Support glibc getsubopt" + default y + help + Answer Y if you want to include glibc getsubopt() instead of a + smaller SUSv3 compatible getsubopt(). + + Most people will answer Y. endmenu @@ -1174,15 +1208,31 @@ config UCLIBC_HAS_FTW config UCLIBC_HAS_GLOB bool "Support the glob() interface" + depends on UCLIBC_HAS_FNMATCH default y help - The glob interface is somewhat large (weighing in at about 4k). It + The glob interface is somewhat large (weighing in at about 2,5k). It is used fairly often, but is an option since people wanting to go for absolute minimum size may wish to omit it. Most people will answer Y. +config UCLIBC_HAS_GNU_GLOB + bool "Support gnu glob() interface" + depends on UCLIBC_HAS_GLOB + default y + help + The gnu glob interface is somewhat larger (weighing in at about 4,2k) than + it's SuSv3 counterpart (and is out of date). It is an old copy from glibc and + does not support all the GNU specific options. + + Answer Y if you want to include full gnu glob() instead of the smaller SUSv3 + compatible glob(). + It is only default, because it is the old/stable version. + + Most people will answer N. + endmenu @@ -1260,6 +1310,19 @@ config UCLIBC_BUILD_PIE libraries have to be built with -fPIC or -fpic, and all assembler functions must be written as position independent code (PIC). +config UCLIBC_HAS_ARC4RANDOM + bool "Include the arc4random() function" + default n + help + Answer Y to support the OpenBSD-like arc4random() function. This + function picks a random number between 0 and N, and will always return + something even if the random driver is dead. If urandom fails then + gettimeofday(2) will be used as the random seed. This function is + designed to be more dependable than invoking /dev/urandom directly. + OpenSSL and OpenNTPD currently support this function. + + Most people will answer N. + config HAVE_NO_SSP bool default n @@ -1329,7 +1392,7 @@ config UCLIBC_BUILD_RELRO config UCLIBC_BUILD_NOW bool "Build uClibc with NOW" depends on HAVE_SHARED - default y + default n help Build all libraries and executables with -z now. @@ -1355,8 +1418,8 @@ config CROSS_COMPILER_PREFIX config DODEBUG bool "Build uClibc with debugging symbols" - select PTHREADS_DEBUG_SUPPORT if UCLIBC_HAS_THREADS default n + select NOSTRIP help Say Y here if you wish to compile uClibc with debugging symbols. This will allow you to use a debugger to examine uClibc internals @@ -1376,6 +1439,14 @@ config DODEBUG_PT Otherwise, answer N. +config NOSTRIP + bool "Do not build stripped libraries and executables" + default n + help + Say Y here if you do not wish to strip all uClibc libraries and + executables. This increases the size of the binaries considerably. + Most people will answer N. + config DOASSERTS bool "Build uClibc with run-time assertion testing" default n @@ -1458,6 +1529,12 @@ config WARNINGS help Set this to the set of gcc warnings you wish to see while compiling. +config EXTRA_WARNINGS + bool "Enable extra annoying warnings" + default n + help + If you wish to build with extra warnings enabled, say Y here. + config DOMULTI bool "Compile all sources at once into an object" default n |