kumquat-buildroot/toolchain
Thomas De Schampheleire 97565866e8 toolchain-external: don't create gdb symlink when building host-gdb
The external-toolchain infrastructure creates symbolic links for all
tools in the host directory. However, when buildroot builds its own
version of a cross debugger (BR2_PACKAGE_HOST_GDB), and the toolchain
also provides a cross debugger, there would be two symbolic links for
gdb in the host directory, which is confusing.
An example use case is where the external toolchain only provides a
64-bit gdbserver (e.g. Cavium Networks SDK) but the target is completely
32-bit (e.g. n32 ABI). In this case, using gdbserver on target requires
copying a bunch of 64-bit libraries to the target as well, just for gdb.
In this case, one can let buildroot build both gdbserver as cross-gdb
(both in 32-bit).

This patch modifies the symlink creation so that no gdb (or gdbtui)
symlink is created if buildroot is going to build a cross-gdb.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-08-10 21:11:12 +02:00
..
toolchain-buildroot toolchain/buildroot: properly handle SSP 2013-07-27 13:16:50 +02:00
toolchain-crosstool-ng fix white spaces 2013-07-20 21:13:57 +02:00
toolchain-external toolchain-external: don't create gdb symlink when building host-gdb 2013-08-10 21:11:12 +02:00
Config.in eglibc: enable support in the Buildroot toolchain backend 2013-07-04 11:08:27 +02:00
helpers.mk toolchain: check ARM EABI vs. EABIhf for external toolchains 2013-07-18 00:22:40 +02:00
toolchain-buildroot.mk eglibc: enable support in the Buildroot toolchain backend 2013-07-04 11:08:27 +02:00
toolchain-common.in arch: Refactor BR2_SOFT_FLOAT into per-architecture options 2013-07-16 14:35:07 +02:00
toolchain-crosstool-ng.mk uclibc: convert to the package infrastructure 2013-07-04 00:13:23 +02:00
toolchain-external.mk uclibc: convert to the package infrastructure 2013-07-04 00:13:23 +02:00