config/debug/gdb.in.native
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 2098 9a8f0e3fe605
child 2717 13df2720b374
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1849
     1
# Menu for the native GDB
yann@821
     2
yann@583
     3
config GDB_NATIVE
yann@583
     4
    bool
yann@583
     5
    prompt "Native gdb"
yann@850
     6
    depends on ! BARE_METAL
yann@1844
     7
    depends on ! BACKEND
yann@583
     8
    help
yann@583
     9
      Build and install a native gdb for the target, to run on the target.
yann@583
    10
yann@1849
    11
if GDB_NATIVE
yann@1849
    12
yann@1850
    13
config GDB_NATIVE_NO_STATIC
yann@1850
    14
    bool
yann@1850
    15
yann@1850
    16
config GDB_NATIVE_STATIC
yann@1850
    17
    bool
yann@1850
    18
    prompt "Build a static native gdb"
yann@1850
    19
    depends on ! GDB_NATIVE_NO_STATIC
yann@1850
    20
    help
yann@1850
    21
      In case you have trouble with dynamic loading of shared libraries,
yann@1850
    22
      you will find that a static gdb comes in handy.
yann@1850
    23
yann@1849
    24
endif # GDB_NATIVE