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 # Companion tools config options
7 comment "READ HELP before you say 'Y' below !!!"
10 prompt "Build some companion tools"
12 Crosstool-NG relies on some external tools to be recent enough, namely:
13 make = 3.81 (in some cases)
19 If your system has older versions, we can build them for you,
20 but you are strongly encouraged to update your system instead!
24 config COMP_TOOLS_make
32 config COMP_TOOLS_autoconf
36 config COMP_TOOLS_automake
40 config COMP_TOOLS_libtool