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 # Alpha specific configuration file
11 config ARCH_ALPHA_EV45
19 config ARCH_ALPHA_EV56
27 config ARCH_ALPHA_EV67
33 config ARCH_ALPHA_VARIANT
35 default "ev4" if ARCH_ALPHA_EV4
36 default "ev45" if ARCH_ALPHA_EV45
37 default "ev5" if ARCH_ALPHA_EV5
38 default "ev56" if ARCH_ALPHA_EV56
39 default "ev6" if ARCH_ALPHA_EV6
40 default "ev67" if ARCH_ALPHA_EV67
43 default "ev4" if ARCH_ALPHA_EV4
44 default "ev45" if ARCH_ALPHA_EV45
45 default "ev5" if ARCH_ALPHA_EV5
46 default "ev56" if ARCH_ALPHA_EV56
47 default "ev6" if ARCH_ALPHA_EV6
48 default "ev67" if ARCH_ALPHA_EV67
51 default "ev4" if ARCH_ALPHA_EV4
52 default "ev45" if ARCH_ALPHA_EV45
53 default "ev5" if ARCH_ALPHA_EV5
54 default "ev56" if ARCH_ALPHA_EV56
55 default "ev6" if ARCH_ALPHA_EV6
56 default "ev67" if ARCH_ALPHA_EV67