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 # mingw32 config options
3 ## depends on EXPERIMENTAL && ( ARCH_x86 && ARCH_32 )
7 ## help Build a toolchain targeting systems running Windows as host
11 prompt "Windows api version"
13 # Don't remove next line
14 # CT_INSERT_VERSION_BELOW
19 config W32API_V_select
21 prompt "Other version"
27 prompt "W32 api version" if W32API_V_select
28 # Don't remove next line
29 # CT_INSERT_VERSION_STRING_BELOW
30 default "3.14" if W32API_V_3_14
32 Enter the version number of the windows api files to use