crosstool-ng/scripts/build/debug
Yann E. MORIN" b5225e3ff2 debug/cross-gdb: check host dependencies
Cross-gdb depends on expat and python. If either is missing, cross-gdb will
build successfully, but lacking some features.

Especially, if expat is missing, cross-gdb will be unable to parse the target
description, which may lead to runtime malfunctions and the following GDB
warning:
"Can not parse XML target description; XML support was disabled at compile time"

Hence, expat should be considered mandatory.

On the other hand, the features missing without python are not critical, so
python should not be considered mandatory.

This patch does the following:
 - At configure time, warn the user if either expat or python is missing.
 - In menuconfig, disable the static build options regarding cross-gdb if no
   static version of expat is available, and disable cross-gdb if expat is
   missing.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
[yann.morin.1998@anciens.enib.fr: add comment for impossible static cross-gdb]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-08 15:47:43 +02:00
..
000-template.sh scripts: add "FILE" and "CFG" debug levels. 2010-10-22 22:02:57 +02:00
100-dmalloc.sh debug/dmalloc: log even more 2011-03-20 00:53:41 +01:00
200-duma.sh scripts/functions: make CT_Patch dumber 2010-04-11 23:18:10 +02:00
300-gdb.sh debug/cross-gdb: check host dependencies 2011-06-08 15:47:43 +02:00
400-ltrace.sh debug/trace: log even more 2011-03-20 01:03:26 +01:00
500-strace.sh scripts: add "FILE" and "CFG" debug levels. 2010-10-22 22:02:57 +02:00
duma.in Use POSIX constructs in the DUMA wrapper installed on the target. 2008-07-19 12:15:17 +00:00