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 # newlib second-part options
3 config LIBC_NEWLIB_IO_C99FMT
5 prompt "Enable IOs on C99 formats"
7 Enable support for IOs on C99 formats.
9 config LIBC_NEWLIB_IO_LL
11 prompt "Enable IOs on long long"
13 Enable support for IOs on long long integers.
15 config LIBC_NEWLIB_IO_FLOAT
17 prompt "Enable IOs on floats and doubles"
19 Enable support for IOs on floating point
20 values (float and double).
22 config LIBC_NEWLIB_IO_LDBL
24 prompt "Enable IOs on long doubles"
25 depends on LIBC_NEWLIB_IO_FLOAT
27 Enable support for IOs on long doubles.
29 config LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS
31 prompt "Disable the syscalls supplied with newlib"
33 Disable the syscalls that come with newlib. You
34 will have to implement your own _sbrk, _read,
35 _write... If you plan to port newlib to a new
36 platform/board, say Yes.