]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - toolchain/toolchain-external/Config.in
toolchain/*/Config.in: re-wrap help text
[coffee/buildroot.git] / toolchain / toolchain-external / Config.in
1 if BR2_TOOLCHAIN_EXTERNAL
2
3 comment "Toolchain External Options"
4
5 choice
6         prompt "Toolchain"
7
8 comment "glibc toolchains only available with shared lib support"
9         depends on BR2_STATIC_LIBS
10
11 # Kept toolchains sorted by architecture in order to use some toolchain
12 # as default choice
13
14 # Aarch64 (use Linaro toolchain by default)
15 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in"
16 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in"
17
18 # ARC
19 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in"
20
21 # ARM (use Linaro toolchain by default)
22 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in"
23 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in"
24
25 # ARM big-endian
26 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in"
27
28 # MIPS (use codesourcery toolchain by default)
29 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in"
30 source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in"
31 source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in"
32
33 # NIOSII
34 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in"
35
36 # x86_64
37 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in"
38
39 # Kept last, so it remains the non-default choice, unless there isn't
40 # any available toolchain profile for the currently selected
41 # architecture.
42 source "toolchain/toolchain-external/toolchain-external-custom/Config.in"
43
44 endchoice
45
46 choice
47         prompt "Toolchain origin"
48         # Keep compatibility with old defconfig files that are using
49         # custom toolchains, and which are therefore assuming that
50         # "preinstalled" in the default choice.
51         default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
52
53 config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
54         bool "Toolchain to be downloaded and installed"
55         help
56           Select this option if you want Buildroot to download and
57           install the toolchain. If you have selected a custom
58           toolchain, specify the URL in BR2_TOOLCHAIN_EXTERNAL_URL.
59
60 config BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
61         bool "Pre-installed toolchain"
62         help
63           Select this option if you want to use a pre-installed
64           toolchain. Specify the path to this toolchain in
65           BR2_TOOLCHAIN_EXTERNAL_PATH.
66
67 endchoice
68
69 config BR2_TOOLCHAIN_EXTERNAL_PATH
70         string "Toolchain path"
71         default ""
72         depends on BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED
73         help
74           Path to where the external toolchain is installed. The
75           compiler itself is expected to be in the "bin" subdirectory
76           of this path.
77
78           If empty, the compiler will be searched in $PATH.
79
80 config BR2_TOOLCHAIN_EXTERNAL_GLIBC
81         bool
82         select BR2_TOOLCHAIN_USES_GLIBC
83
84 config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
85         bool
86         select BR2_TOOLCHAIN_USES_UCLIBC
87
88 config BR2_TOOLCHAIN_EXTERNAL_MUSL
89         bool
90         select BR2_TOOLCHAIN_USES_MUSL
91         # Compatibility headers: cdefs.h, queue.h
92         select BR2_PACKAGE_MUSL_COMPAT_HEADERS
93
94 # Make sure the virtual-package infra checks the provider
95 config BR2_PACKAGE_HAS_TOOLCHAIN_EXTERNAL
96         bool
97         default y
98
99 config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
100         string
101
102 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
103         string
104
105 # Kept toolchains sorted as in the choice above
106 # The toolchain Config.in.options must define
107 # BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL and BR2_TOOLCHAIN_EXTERNAL_PREFIX
108
109 # Aarch64
110 source "toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options"
111 source "toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options"
112
113 # ARC
114 source "toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options"
115
116 # ARM
117 source "toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options"
118 source "toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options"
119
120 # ARM big-endian
121 source "toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options"
122
123 # MIPS
124 source "toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options"
125 source "toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options"
126 source "toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options"
127
128 # NIOSII
129 source "toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options"
130
131 # x86_64
132 source "toolchain/toolchain-external/toolchain-external-codesourcery-amd64/Config.in.options"
133
134 # Custom toolchains
135 source "toolchain/toolchain-external/toolchain-external-custom/Config.in.options"
136
137 config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
138         bool "Copy gdb server to the Target"
139         depends on BR2_TOOLCHAIN_EXTERNAL
140         help
141           Copy the gdbserver provided by the external toolchain to the
142           target.
143
144 endif # BR2_TOOLCHAIN_EXTERNAL