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>
6 # Don't remove next line
7 # CT_INSERT_VERSION_BELOW
11 prompt "0.11.2 (EXPERIMENTAL)"
12 depends on EXPERIMENTAL
17 prompt "0.11.1 (EXPERIMENTAL)"
18 depends on EXPERIMENTAL
23 prompt "0.11 (EXPERIMENTAL)"
24 depends on EXPERIMENTAL
35 # Don't remove next line
36 # CT_INSERT_VERSION_STRING_BELOW
37 default "0.11.2" if PPL_V_0_11_2
38 default "0.11.1" if PPL_V_0_11_1
39 default "0.11" if PPL_V_0_11
40 default "0.10.2" if PPL_V_0_10_2
42 # For PPL 0.11, we need to pull libpwl if configured static
45 select PPL_NEEDS_LIBPWL if ! COMPLIBS_SHARED
47 config PPL_NEEDS_LIBPWL