crosstool-ng/scripts/build
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
..
arch arch/sparc: add absic support 2011-04-03 18:22:00 +02:00
binutils kconfig: prepend CT-NG's version tag to PKGVERSION 2011-06-03 17:21:56 +02:00
cc kconfig: prepend CT-NG's version tag to PKGVERSION 2011-06-03 17:21:56 +02:00
companion_libs complibs/ppl: build only C and C++ interfaces for PPL 2011-05-19 23:06:16 +02:00
companion_tools comptools/libtool: chmod files to u+w 2011-03-03 19:32:05 +01:00
debug debug/cross-gdb: check host dependencies 2011-06-08 15:47:43 +02:00
kernel kernel/linux: simplify the download URL 2011-01-14 18:36:07 +01:00
libc libc/glibc: do not try to download NPTL add-on 2011-06-04 17:15:58 +02:00
test_suite test-suite: apply cleanup pass 2010-05-22 22:04:31 +02:00
companion_tools.sh companion_tools/autoconf: add autoconf tool 2010-01-12 21:09:30 +01:00
debug.sh Simplify the Tools and Debug facilities menu entries: 2008-10-10 14:30:44 +00:00
internals.sh internals: fix stripping yet once again 2011-05-02 18:07:13 +02:00
test_suite.sh test-suite: Added new test suite feature (experimental) 2010-05-19 17:53:04 +02:00