.hgignore
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed Jun 08 15:47:43 2011 +0200 (2011-06-08)
changeset 2508 9e2761e59a75
parent 2468 90595d1c1017
child 2621 00853d565edf
permissions -rw-r--r--
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>
yann@1412
     1
syntax: glob
yann@1412
     2
yann@1412
     3
# Generated files
yann@1412
     4
Makefile
yann@1412
     5
ct-ng
yann@1412
     6
docs/ct-ng.1
yann@1412
     7
docs/ct-ng.1.gz
yann@1412
     8
paths.mk
yann@1412
     9
scripts/crosstool-NG.sh
yann@1412
    10
scripts/saveSample.sh
yann@1412
    11
scripts/showTuple.sh
yann@1412
    12
kconfig/conf
yann@2454
    13
kconfig/?conf
yann@1412
    14
kconfig/**.o
yann@1412
    15
kconfig/**.dep
yann@2481
    16
config/configure.in
yann@1412
    17
config.gen/
yann@1412
    18
.config
yann@2468
    19
.config.2
yann@2133
    20
yann@2133
    21
# Temporaries
yann@2133
    22
.*.swp
yann@2339
    23
build.log
yann@1412
    24
.config.old
yann@2133
    25
yann@2133
    26
# This is the place where toolchains are built
yann@2133
    27
.build/
yann@2133
    28
# .. and the legacy location
yann@1412
    29
targets/