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 # MIPS specific options for gcc
3 config CC_GCC_HAS_ARCH_OPTIONS
6 config CC_GCC_mips_llsc
11 This configures how gcc will emit load-link, store-conditional and
12 sync opcodes. Normally, you'd set this to 'M', and configure will do
13 the correct thing (ie. enable llsc for Linux-based targets, disable
14 for others). If you know better, you can force either using llsc or
15 not using it (resp. 'Y' or 'N').
17 config CC_GCC_mips_synci
22 This configures how gcc will emit the synci opcode. Normally, you'd
23 set this to 'M', and configure will do the correct thing (ie. disable).
24 If you know better, you can force using synci (say 'Y'), or not using
27 config CC_GCC_mips_plt
29 prompt "Use copy relocations & PLTs"
31 This configures gcc to use copy relocations & PLTs. These are
32 extensions to the traditional SVR4-based MIPS ABIs and require
33 support from GNU binutils and the runtime C library.
34 Say 'N' to keep the default and not use them, say 'Y' to use them.