a0b6faaab4
This commit converts gdb to the package infrastructure, and therefore moves it from toolchain/gdb to package/gdb. The target package is now visible in "Package selection for the target" => "Debugging, profiling and benchmark". The main option, "gdb", forcefully selects the "gdbserver" sub-option by default. Another sub-option, "full debugger" allows to install the complete gdb on the target. When this option is enabled, then "gdbserver" is no longer forcefully selected. This ensures that at least gdbserver or the full debugger gets built/installed, so that the package is not a no-op. The host debugger is still enabled through a configuration option in "Toolchain". It is now visible regardless of the toolchain type (it used to be hidden for External Toolchains). The configuration options relative to the host debugger are now in package/gdb/Config.in.host, similar to how we have package/binutils/Config.in.host. Since gdb is now a proper package, it is no longer allowed to 'select BR2_PTHREADS_DEBUG' to ensure thread debugging is available when needed. Instead, it now 'depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG'. This option, in turn, is selected by the different toolchain backends when appropriate. The 'BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED' option is removed, since we no longer need to know when it is allowed to 'select BR2_PTHREADS_DEBUG'. Also, the 'BR2_PTHREADS_DEBUG' option is moved to appear right below the thread implementation selection (in the case of the Buildroot toolchain backend). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
99 lines
3.4 KiB
Plaintext
99 lines
3.4 KiB
Plaintext
# Choose uClibc options
|
|
#
|
|
|
|
comment "uClibc Options"
|
|
|
|
choice
|
|
prompt "uClibc C library Version"
|
|
default BR2_UCLIBC_VERSION_0_9_33
|
|
help
|
|
Select the version of uClibc you wish to use.
|
|
|
|
config BR2_UCLIBC_VERSION_0_9_31
|
|
bool "uClibc 0.9.31.x"
|
|
depends on BR2_DEPRECATED
|
|
depends on !BR2_xtensa
|
|
|
|
config BR2_UCLIBC_VERSION_0_9_32
|
|
bool "uClibc 0.9.32.x"
|
|
depends on !(BR2_avr32 || BR2_sh || BR2_xtensa)
|
|
|
|
config BR2_UCLIBC_VERSION_0_9_33
|
|
bool "uClibc 0.9.33.x"
|
|
depends on !BR2_xtensa
|
|
|
|
config BR2_UCLIBC_VERSION_SNAPSHOT
|
|
bool "daily snapshot"
|
|
|
|
endchoice
|
|
|
|
config BR2_USE_UCLIBC_SNAPSHOT
|
|
string "Date (yyyymmdd) of snapshot or 'snapshot' for latest"
|
|
default "snapshot"
|
|
depends on BR2_UCLIBC_VERSION_SNAPSHOT
|
|
help
|
|
Use latest snapshot or one from a specific date?
|
|
|
|
config BR2_UCLIBC_VERSION_STRING
|
|
string
|
|
default 0.9.31.1 if BR2_UCLIBC_VERSION_0_9_31
|
|
default 0.9.32.1 if BR2_UCLIBC_VERSION_0_9_32
|
|
default 0.9.33.2 if BR2_UCLIBC_VERSION_0_9_33
|
|
default $BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT
|
|
|
|
config BR2_UCLIBC_CONFIG
|
|
string "uClibc configuration file to use?"
|
|
default "toolchain/uClibc/uClibc-0.9.31.config" if BR2_UCLIBC_VERSION_0_9_31
|
|
default "toolchain/uClibc/uClibc-0.9.32.config" if BR2_UCLIBC_VERSION_0_9_32
|
|
default "toolchain/uClibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33
|
|
default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
|
|
help
|
|
Some people may wish to use their own modified uClibc configuration
|
|
file and will specify their config file location with this option.
|
|
See also docs/README in this package.
|
|
If unsure, use the default.
|
|
|
|
config BR2_UCLIBC_INSTALL_TEST_SUITE
|
|
bool "Compile and install uClibc tests"
|
|
select BR2_PACKAGE_MAKE
|
|
help
|
|
Enabling this option will compile and install the uClibc test suite.
|
|
This is useful if you want to check if the uClibc library is working
|
|
for your architecture and/or help developing uClibc.
|
|
|
|
The test suite will be installed into /root/uClibc directory. To run
|
|
the test suite enter the /root/uClibc/test directory and type
|
|
"make UCLIBC_ONLY=1 CC=/bin/true check".
|
|
|
|
See the /root/uClibc/test/README for additional information.
|
|
|
|
This is not needed at all for normal builds, so you can safely say no
|
|
if you do not plan to dig into your C library.
|
|
|
|
# This is only useful for uClibc <= 0.9.32. It can be removed once
|
|
# Buildroot will support only uClibc >= 0.9.33 on ARM.
|
|
config BR2_UCLIBC_ARM_TYPE
|
|
string
|
|
depends on BR2_arm || BR2_armeb
|
|
default GENERIC_ARM if BR2_fa526
|
|
default ARM7TDMI if BR2_arm7tdmi
|
|
default ARM720T if BR2_arm720t
|
|
default ARM920T if BR2_arm920t
|
|
default ARM922T if BR2_arm922t
|
|
default ARM926T if BR2_arm926t
|
|
default ARM10T if BR2_arm10t
|
|
default ARM1136JF_S if BR2_arm1136jf_s
|
|
default ARM1176JZ_S if BR2_arm1176jz_s
|
|
default ARM1176JZF_S if BR2_arm1176jzf_s
|
|
default ARM_SA1100 if BR2_strongarm
|
|
default ARM_XSCALE if BR2_xscale
|
|
default ARM_IWMMXT if BR2_iwmmxt
|
|
default ARM_CORTEXA8 if BR2_cortex_a8
|
|
default ARM_CORTEXA9 if BR2_cortex_a9
|
|
|
|
config BR2_UCLIBC_SPARC_TYPE
|
|
string
|
|
depends on BR2_sparc
|
|
default V7 if BR2_sparc_v7 || BR2_sparc_cypress || BR2_sparc_sparclite || BR2_sparc_f930 || BR2_sparc_f934 || BR2_sparc_sparclite86x || BR2_sparc_sparclet || BR2_sparc_tsc701 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon
|
|
default V8 if BR2_sparc_v8 || BR2_sparc_supersparc || BR2_sparc_hypersparc || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8
|