#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#
mainmenu "uClibc C Library Configuration"
choice
prompt "Target Architecture"
help
Stuff
config TARGET_alpha
bool "alpha"
config TARGET_arm
bool "arm"
config TARGET_avr32
bool "avr32"
config TARGET_bfin
bool "bfin"
config TARGET_cris
bool "cris"
config TARGET_e1
bool "e1 (BROKEN)"
config TARGET_frv
bool "frv (BROKEN)"
config TARGET_h8300
bool "h8300 (BROKEN)"
config TARGET_hppa
bool "hppa"
config TARGET_i386
bool "i386"
config TARGET_i960
bool "i960 (BROKEN)"
config TARGET_ia64
bool "ia64"
config TARGET_m68k
bool "m68k"
config TARGET_microblaze
bool "microblaze (BROKEN)"
config TARGET_mips
bool "mips"
config TARGET_nios
bool "nios"
config TARGET_nios2
bool "nios2"
config TARGET_powerpc
bool "powerpc"
config TARGET_sh
bool "superh"
config TARGET_sh64
bool "sh64"
config TARGET_sparc
bool "sparc"
config TARGET_v850
bool "v850 (BROKEN)"
config TARGET_vax
bool "vax"
config TARGET_x86_64
bool "x86_64"
endchoice
menu "Target Architecture Features and Options"
if TARGET_alpha
source "extra/Configs/Config.alpha"
endif
if TARGET_arm
source "extra/Configs/Config.arm"
endif
if TARGET_avr32
source "extra/Configs/Config.avr32"
endif
if TARGET_bfin
source "extra/Configs/Config.bfin"
endif
if TARGET_cris
source "extra/Configs/Config.cris"
endif
if TARGET_e1
source "extra/Configs/Config.e1"
endif
if TARGET_frv
source "extra/Configs/Config.frv"
endif
if TARGET_h8300
source "extra/Configs/Config.h8300"
endif
if TARGET_hppa
source "extra/Configs/Config.hppa"
endif
if TARGET_i386
source "extra/Configs/Config.i386"
endif
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
if TARGET_nios
source "extra/Configs/Config.nios"
endif
if TARGET_nios2
source "extra/Configs/Config.nios2"
endif
if TARGET_microblaze
source "extra/Configs/Config.microblaze"
endif
if TARGET_mips
source "extra/Configs/Config.mips"
endif
if TARGET_powerpc
source "extra/Configs/Config.powerpc"
endif
if TARGET_sh
source "extra/Configs/Config.sh"
endif
if TARGET_sh64
source "extra/Configs/Config.sh64"
endif
if TARGET_sparc
source "extra/Configs/Config.sparc"
endif
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
config TARGET_SUBARCH
string
default "e500" if CONFIG_E500
default "classic" if CONFIG_CLASSIC
default ""
source "extra/Configs/Config.in.arch"
endmenu
menu "General Library Settings"
config HAVE_NO_PIC
bool
default n
config DOPIC
bool "Generate only Position Independent Code (PIC)"
default y
depends !HAVE_NO_PIC
help
If you wish to build all of uClibc as PIC objects, then answer Y here.
If you are unsure, then you should answer N.
config HAVE_NO_SHARED
bool
default n
config ARCH_HAS_NO_LDSO
bool
select HAVE_NO_SHARED
default n
config HAVE_SHARED
bool "Enable support for shared libraries"
depends on !HAVE_NO_SHARED
default y
help
If you wish to build uClibc with support for shared libraries then
answer Y here. If you only want to build uClibc as a static library,
then answer N.
config FORCE_SHAREABLE_TEXT_SEGMENTS
bool "Only load shared libraries which can share their text segment"
depends on HAVE_SHARED
default n
help
If you answer Y here, the uClibc native shared library loader will
only load shared libraries, which do not need to modify any non-writable
segments. These libraries haven't set the DT_TEXTREL tag in the dynamic
section (==> objdump). All your libraries must be compiled with
-fPIC or -fpic, and all assembler function must be written as position
independent code (PIC).
Enabling this option will make uClibc's shared library loader a
little bit smaller and guarantee that no memory will be wasted by badly
coded shared libraries.
config LDSO_LDD_SUPPORT
bool "Native 'ldd' support"
depends on HAVE_SHARED
default y
help
Enable this to enable all the code needed to support traditional ldd,
which executes the shared library loader to resolve all dependencies
and then provide a list of shared libraries that are required for an
application to function. Disabling this option will makes uClibc's
shared library loader a little bit smaller. Most people will answer Y.
config LDSO_CACHE_SUPPORT
bool "Enable library loader cache (ld.so.conf)"
depends on HAVE_SHARED
default y
help
Enable this to make use of /etc/ld.so.conf, the shared library loader
cache configuration file to support for non-standard library paths.
After updating this file, it is necessary to run 'ldconfig' to update
the /etc/ld.so.cache shared library loader cache file.
config LDSO_PRELOAD_FILE_SUPPORT
bool "Enable library loader preload file (ld.so.preload)"
depends on HAVE_SHARED
default n
help
Enable this to make use of /etc/ld.so.preload. This file contains a
whitespace separated list of shared libraries to be loaded before
the program.
config LDSO_BASE_FILENAME
string "Shared library loader naming prefix"
depends on HAVE_SHARED && (LDSO_CACHE_SUPPORT || LDSO_PRELOAD_FILE_SUPPORT)
default "ld.so"
help
If you wish to support both uClibc and glibc on the same system, it
is necessary to set this to something other than "ld.so" to avoid
conflicts with glibc, which also uses "ld.so". This prevents both
libraries from using the same /etc/ld.so.* files. If you wish to
support both uClibc and glibc on the same system then you should set
this to "ld-uClibc.so".
|