config/debug/gdb.in.cross
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 23 14:32:16 2010 +0200 (2010-08-23)
changeset 2100 f9fcfc002c8a
parent 1916 e5b635bb9290
child 2209 cdafca8bdaa8
permissions -rw-r--r--
debug/gdb: install dependable libs in a generic target static libs dir

For now, ncurses is the only dependable target library built for gdb.
But expat is coming, and there's no reason to install each library in
its own place.

So, install ncurses in a generic directory, where other dependable
libraries can be installed as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1849
     1
# Menu for the cross GDB
yann@96
     2
yann@96
     3
config GDB_CROSS
yann@96
     4
    bool
yann@96
     5
    prompt "Cross-gdb"
yann@96
     6
    default y
yann@850
     7
    select GDB_GDBSERVER if ! BARE_METAL
yann@96
     8
    help
yann@583
     9
      Build and install a cross-gdb for the target, to run on host.
yann@96
    10
yann@1849
    11
if GDB_CROSS
yann@1849
    12
yann@1915
    13
config GDB_CROSS_STATIC
yann@1915
    14
    bool
yann@1915
    15
    prompt "Build a static cross gdb"
yann@1915
    16
    default n
yann@1915
    17
    help
yann@1915
    18
      A static cross gdb can be usefull if you debug on a machine that is
yann@1915
    19
      not the one that is used to compile the toolchain.
yann@1915
    20
      
yann@1915
    21
      That way, you can share the cross-gdb without installing a toolchain
yann@1915
    22
      on every machine that will be used to debug target programs.
yann@1915
    23
yann@1849
    24
endif # GDB_CROSS