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>
11 source "config.gen/cc.in"
16 config CC_SUPPORT_FORTRAN
19 config CC_SUPPORT_JAVA
25 config CC_SUPPORT_OBJC
28 config CC_SUPPORT_OBJCXX
31 comment "Additional supported languages:"
36 depends on CC_SUPPORT_CXX
38 Enable building a C++ compiler.
40 Only select this if you know that your specific version of the
41 compiler supports this language.
45 config CC_LANG_FORTRAN
48 depends on CC_SUPPORT_FORTRAN
50 Enable building a FORTRAN compiler.
52 Only select this if you know that your specific version of the
53 compiler supports this language.
58 depends on CC_SUPPORT_JAVA
60 Enable building a Java compiler.
62 Only select this if you know that your specific version of the
63 compiler supports this language.
67 prompt "ADA (EXPERIMENTAL)"
68 depends on CC_SUPPORT_ADA
69 depends on EXPERIMENTAL
71 Enable building an Ada compiler.
73 Only select this if you know that your specific version of the
74 compiler supports this language.
78 prompt "Objective-C (EXPERIMENTAL)"
79 depends on CC_SUPPORT_OBJC
80 depends on EXPERIMENTAL
82 Enable building an Objective C compiler.
84 Only select this if you know that your specific version of the
85 compiler supports this language.
89 prompt "Objective-C++ (EXPERIMENTAL)"
90 depends on EXPERIMENTAL
91 depends on CC_SUPPORT_OBJCXX
93 Enable building an Objective C++ compiler.
95 Only select this if you know that your specific version of the
96 compiler supports this language.
100 prompt "Other languages (EXPERIMENTAL)"
102 depends on EXPERIMENTAL
104 Enter here a comma-separated list of languages that you know your compiler
105 supports, besides those listed above.
107 Eg. gcc-4.1+ has a toy programming language, treelang. As it is not useful
108 in real life, it is not available in the selection above.
112 source "config.gen/cc.in.2"