config/debug/gdb.in.cross
changeset 2508 9e2761e59a75
parent 2484 d1a8c2ae7946
child 2526 e5fb003a354c
     1.1 --- a/config/debug/gdb.in.cross	Tue May 31 16:27:39 2011 +0200
     1.2 +++ b/config/debug/gdb.in.cross	Wed Jun 08 15:47:43 2011 +0200
     1.3 @@ -3,10 +3,18 @@
     1.4  config STATIC_TOOLCHAIN
     1.5      select GDB_CROSS_STATIC if GDB_CROSS
     1.6  
     1.7 +comment "Cross-gdb - disabled (requires expat; re-run ./configure to enable)"
     1.8 +    depends on !CONFIGURE_has_expat
     1.9 +
    1.10 +comment "Static cross-gdb - disabled (requires static expat; re-run ./configure to enable)"
    1.11 +    depends on STATIC_TOOLCHAIN && !CONFIGURE_has_static_expat
    1.12 +
    1.13  config GDB_CROSS
    1.14      bool
    1.15      prompt "Cross-gdb"
    1.16      default y
    1.17 +    depends on CONFIGURE_has_expat
    1.18 +    depends on !STATIC_TOOLCHAIN || CONFIGURE_has_static_expat
    1.19      select GDB_GDBSERVER if ! BARE_METAL
    1.20      help
    1.21        Build and install a cross-gdb for the target, to run on host.
    1.22 @@ -16,6 +24,7 @@
    1.23  config GDB_CROSS_STATIC
    1.24      bool
    1.25      prompt "Build a static cross gdb"
    1.26 +    depends on CONFIGURE_has_static_expat
    1.27      help
    1.28        A static cross gdb can be usefull if you debug on a machine that is
    1.29        not the one that is used to compile the toolchain.