scripts/functions: Fix CT_ExtractGit function.
Change CT_ExtractGit so that it clones the repository, instead of just
symlinking it. After cloning, any given ref is checked out, or if no
ref is given, the HEAD of the repository is checked out.
This makes CT_Extract behave similar for git repositories as it does
for tarballs, so that it for example can be used for passing glibc-ports
as a git repository.
Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk>
[yann.morin.1998@anciens.enib.fr: fix incomplete var rename]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
1 # Menu for the native gdbserver
6 depends on ! BARE_METAL
8 Build and install a gdbserver for the target, to run on the target.
12 config GDB_GDBSERVER_STATIC
14 prompt "Build a static gdbserver"
17 In case you have trouble with dynamic loading of shared libraries,
18 you will find that a static gdbserver comes in handy.
23 comment "In bare-metal, you'll need to "
24 comment "provide your own gdbserver stub."