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 # ARM specific configuration file
5 default "arm" if ARCH_ARM_MODE_ARM
6 default "thumb" if ARCH_ARM_MODE_THUMB
10 prompt "Default instruction set mode"
11 default ARCH_ARM_MODE_ARM
13 config ARCH_ARM_MODE_ARM
17 Defaults to emitting instructions in the ARM mode.
19 config ARCH_ARM_MODE_THUMB
21 prompt "thumb (EXPERIMENTAL)"
22 depends on EXPERIMENTAL
24 Defaults to emitting instructions in the THUMB mode.
28 config ARCH_ARM_INTERWORKING
30 prompt "Use Thumb-interworking (READ HELP)"
31 depends on EXPERIMENTAL
33 Excerpt from the gcc manual:
35 > Generate code which supports calling between the ARM and Thumb
36 > instruction sets. Without this option the two instruction sets
37 > cannot be reliably used inside one program. The default is
38 > [not to use interwork], since slightly larger code is generated
39 > when [interwork] is specified.
46 Set up the toolchain so that it generates EABI-compliant binaries.
48 config ARCH_ARM_ABI_OK
51 depends on ! ARCH_ARM_EABI
52 select ARCH_SUPPORT_ABI