crosstool-ng/scripts
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
..
build debug/cross-gdb: check host dependencies 2011-06-08 15:47:43 +02:00
addToolVersion.sh eglibc: use the PKGVERSION and BUGURL options 2011-05-31 20:55:30 +02:00
config.guess scripts: update config.{guess,sub} 2011-03-05 18:47:08 +01:00
config.sub scripts: update config.sub 2011-04-12 22:12:23 +02:00
crosstool-NG.sh.in kconfig: prepend CT-NG's version tag to PKGVERSION 2011-06-03 17:21:56 +02:00
functions functions: fix downloading files 2011-06-02 23:56:13 +02:00
mk-patch.sh scripts/mk-patch: squash all non alphanumeric chars 2011-04-08 00:58:33 +02:00
mk-release.sh scripts: use 'hg archive' to create release tarballs 2010-07-17 11:31:57 +02:00
patch-renumber.sh scripts: be POSIXly correct in helper scripts 2009-11-12 18:42:13 +01:00
patch-rework.sh scripts: add doc for patch-rework 2010-12-19 11:57:08 +01:00
populate.in config: add an option to name the sysroot directory 2011-01-25 20:31:16 +01:00
saveSample.sh.in scripts: munge .config to handle array variables 2011-05-19 22:29:49 +02:00
scripts.mk scripts: some eye-candy 2009-10-30 20:08:44 +01:00
showSamples.sh scripts: munge .config to handle array variables 2011-05-19 22:29:49 +02:00
showTuple.sh.in scripts: munge .config to handle array variables 2011-05-19 22:29:49 +02:00
toolchain-config.in Use tools discovered by ./configure in scripts/toolchain-config.in. 2009-02-01 18:51:19 +00:00
xldd.in scripts/xldd: try to handle RPATH tags 2010-11-24 21:04:55 +01:00