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 # Configuration file for sstrip tool facility
3 if OBSOLETE && ! BACKEND && ARCH_BINFMT_ELF
9 prompt "sstrip (OBSOLETE)"
11 The sstrip utility, to maximise the striping of ELF binaries
12 (executables and libraries).
14 Buildroot version, forked off the original from ELFkickers.
15 This one is somewhat maintained by the buildroot guys.
16 Supports big-endian systems.
19 sstrip is now deprecated in crosstool-NG, as it has a few
20 shortcomings. For example: it breaks for PPC targets, it
21 does not build on non-ELF hosts (eg. mingw32, MacOS-X...).