2007-02-06 19:19:38 +01:00
|
|
|
#
|
|
|
|
|
2007-09-26 23:12:38 +02:00
|
|
|
if BR2_TOOLCHAIN_EXTERNAL
|
|
|
|
comment "External Toolchain Options"
|
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LIB_C
|
|
|
|
string "The core C library from the external toolchain"
|
2008-06-16 14:22:45 +02:00
|
|
|
default "libc.so.0"
|
2007-02-06 19:19:38 +01:00
|
|
|
help
|
|
|
|
Specify the core C shared library found in the external
|
|
|
|
toolchain. This is required in addition to any other
|
|
|
|
libraries to be copied.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_LIBS
|
|
|
|
string "Libraries to copy from the external toolchain"
|
2008-06-16 14:22:45 +02:00
|
|
|
default "ld-uClibc.so.0 libcrypt.so.0 libdl.so.0 libgcc_s.so libm.so.0 libnsl.so.0 libpthread.so.0 libresolv.so.0 librt.so.0 libutil.so.0"
|
2007-02-06 19:19:38 +01:00
|
|
|
help
|
|
|
|
A space separated list of the shared libraries to be copied
|
|
|
|
from the external toolchain into the root filesystem. Only
|
|
|
|
the top-level name is needed, i.e. libc.so, libpthread.so as
|
|
|
|
the actual shared library symlinked to will be copied also.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_STRIP
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
prompt "Strip shared libraries"
|
|
|
|
help
|
|
|
|
Strip shared libraries copied from the external toolchain.
|
|
|
|
|
|
|
|
comment "Common Toolchain Options"
|
|
|
|
|
2007-04-28 19:10:31 +02:00
|
|
|
source "toolchain/gdb/Config.in.2"
|
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PATH
|
|
|
|
string "External toolchain path"
|
2008-06-16 14:22:45 +02:00
|
|
|
default "/path/to/staging_dir/usr"
|
2007-02-06 19:19:38 +01:00
|
|
|
help
|
|
|
|
Path to where the external toolchain is installed.
|
|
|
|
|
|
|
|
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
|
|
|
|
string "External toolchain prefix"
|
2008-06-16 14:22:45 +02:00
|
|
|
default "$(ARCH)-linux"
|
2007-02-06 19:19:38 +01:00
|
|
|
help
|
|
|
|
This the the external toolchain prefix. For example:
|
|
|
|
armeb-unknown-linux-gnu, mipsel-unknown-linux-gnu, etc.
|
|
|
|
|
2007-04-28 19:10:31 +02:00
|
|
|
choice
|
|
|
|
prompt "Thread library implementation"
|
|
|
|
default BR2_EXT_PTHREADS_OLD
|
|
|
|
help
|
|
|
|
Select the version of libpthreads used in the external toolchain.
|
|
|
|
|
|
|
|
config BR2_EXT_PTHREADS_NONE
|
|
|
|
bool
|
|
|
|
prompt "none"
|
|
|
|
|
|
|
|
config BR2_EXT_PTHREADS
|
|
|
|
bool
|
|
|
|
prompt "linuxthreads"
|
|
|
|
|
|
|
|
config BR2_EXT_PTHREADS_OLD
|
|
|
|
bool
|
|
|
|
prompt "linuxthreads (stable/old)"
|
|
|
|
|
|
|
|
config BR2_EXT_PTHREADS_NATIVE
|
|
|
|
bool
|
|
|
|
prompt "Native POSIX Threading (NPTL)"
|
|
|
|
endchoice
|
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_LARGEFILE
|
|
|
|
bool "Enable large file (files > 2 GB) support?"
|
|
|
|
depends on !BR2_cris
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable large file (files > 2 GB) support
|
|
|
|
|
2007-07-17 02:18:54 +02:00
|
|
|
config BR2_INET_IPV6
|
|
|
|
bool "Enable IPv6"
|
|
|
|
help
|
|
|
|
Enable IPv6.
|
|
|
|
|
|
|
|
config BR2_INET_RPC
|
|
|
|
bool "Enable RPC"
|
|
|
|
help
|
|
|
|
Enable RPC. RPC support is needed for nfs.
|
|
|
|
|
2007-02-06 19:19:38 +01:00
|
|
|
config BR2_SOFT_FLOAT
|
|
|
|
bool "Use software floating point by default"
|
|
|
|
depends on BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_powerpc
|
|
|
|
help
|
|
|
|
If your target CPU does not have a Floating Point Unit (FPU) or a
|
|
|
|
kernel FPU emulator, but you still wish to support floating point
|
|
|
|
functions, then everything will need to be compiled with soft
|
|
|
|
floating point support (-msoft-float).
|
|
|
|
|
|
|
|
Most people will answer N.
|
|
|
|
|
|
|
|
config BR2_TARGET_OPTIMIZATION
|
|
|
|
string "Target Optimizations"
|
|
|
|
default "-Os -pipe"
|
|
|
|
help
|
|
|
|
Optimizations to use when building for the target host.
|
|
|
|
|
2007-09-26 23:12:38 +02:00
|
|
|
endif
|