config/debug/gdb.in.cross
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Wed Jun 08 15:47:03 2011 +0200 (2011-06-08)
changeset 2507 a5856225d851
parent 2209 cdafca8bdaa8
child 2508 9e2761e59a75
permissions -rw-r--r--
configure: give check_for() the ability to test several item types at once

Currently, check_for() can only test one of prog, inc or lib at once. This patch
removes this limitation.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     1 # Menu for the cross GDB
     2 
     3 config STATIC_TOOLCHAIN
     4     select GDB_CROSS_STATIC if GDB_CROSS
     5 
     6 config GDB_CROSS
     7     bool
     8     prompt "Cross-gdb"
     9     default y
    10     select GDB_GDBSERVER if ! BARE_METAL
    11     help
    12       Build and install a cross-gdb for the target, to run on host.
    13 
    14 if GDB_CROSS
    15 
    16 config GDB_CROSS_STATIC
    17     bool
    18     prompt "Build a static cross gdb"
    19     help
    20       A static cross gdb can be usefull if you debug on a machine that is
    21       not the one that is used to compile the toolchain.
    22       
    23       That way, you can share the cross-gdb without installing a toolchain
    24       on every machine that will be used to debug target programs.
    25 
    26 endif # GDB_CROSS