summaryrefslogtreecommitdiff
path: root/target/device/Config.in.toolchain
blob: cdf5862c06463bf3c037f9236be697a23024cf64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
if BR2_TOOLCHAIN_EXTERNAL_SOURCE
choice
	prompt "Source location:"
	default BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2 if BR2_avr32
	help
	  Select whether to use the toolchain built by the buildroot
	  system or an external pre-built toolchain.

config BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
	bool "Use prepatched source for AVR32 gcc-4.1.2 toolchain"
	depends on BR2_avr32
	depends on BR2_DEPRECATED
	select BR2_EXT_GCC_VERSION_4_1_2
	select BR2_EXT_BINUTILS_VERSION_2_17
	select BR2_EXT_UCLIBC_VERSION_0_9_29
	select BR2_TOOLCHAIN_ATMEL_AVR32
	help
	  The gcc-4.1.2 toolchain for the AVR32

config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
	bool "Use prepatched source for AVR32 gcc-4.2.1 toolchain"
	depends on BR2_avr32
	select BR2_EXT_GCC_VERSION_4_2_1
	select BR2_EXT_BINUTILS_VERSION_2_17
	select BR2_EXT_UCLIBC_VERSION_0_9_29
	select BR2_TOOLCHAIN_ATMEL_AVR32
	select BR2_GCC_SUPPORTS_SYSROOT
	help
	  The gcc-4.2.1 toolchain for the AVR32
	  * gcc-4.2.1
	  * binutils-2.17
	  * uClibc-0.9.29
	  * gdb-6.4
	  This will not be able to build qtopia
	  due to internal errors.

config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
	bool "Use prepatched source for AVR32 gcc-4.2.2 toolchain"
	depends on BR2_avr32
	select BR2_EXT_GCC_VERSION_4_2_2
	select BR2_EXT_BINUTILS_VERSION_2_17
	select BR2_EXT_UCLIBC_VERSION_0_9_29
	select BR2_TOOLCHAIN_ATMEL_AVR32
	select BR2_GCC_SUPPORTS_SYSROOT
	help
	  The gcc-4.2.2 toolchain for the AVR32
	  * gcc-4.2.2
	  * binutils-2.17
	  * uClibc-0.9.29
	  * gdb-6.7.1
	  It is generated from buildroot-avr32-v2.2.0-rc4
	  in http://www.atmel.no/buildroot

config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3
	bool "Use prepatched source for AVR32 gcc-4.2.3 toolchain"
	depends on BR2_avr32
	depends on BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3_ENABLE
	select BR2_EXT_GCC_VERSION_4_2_3
	select BR2_EXT_BINUTILS_VERSION_2_17
	select BR2_EXT_UCLIBC_VERSION_0_9_29
	select BR2_TOOLCHAIN_ATMEL_AVR32
	help
	  The gcc-4.2.3 toolchain for the AVR32
	  * gcc-4.2.3
	  * binutils-2.17
	  * uClibc-0.9.29
	  * gdb-6.7.1
	  It is generated from buildroot-avr32-v2.2.0-rc4
	  in http://www.atmel.no/buildroot

config BR2_TOOLCHAIN_UNKNOWNVENDOR
	bool "Use prepatched source from unknown vendor"
	depends on !BR2_avr32

endchoice

config BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3_ENABLE
	bool
	default n

config BR2_TOOLCHAIN_ATMEL_AVR32
	bool
	default n

if BR2_TOOLCHAIN_ATMEL_AVR32
config BR2_VENDOR_SITE
	string
	default "$(BR2_ATMEL_MIRROR)" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_SUFFIX
	string
	default "-avr32" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_BINUTILS_RELEASE
	string
	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3

config BR2_VENDOR_GCC_RELEASE
	string
	default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3

config BR2_VENDOR_UCLIBC_RELEASE
	string
	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_1_2
	default "-2.1.3" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_1
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_2
	default "-2.1.5" if BR2_TOOLCHAIN_ATMEL_AVR32_4_2_3

config BR2_VENDOR_GDB_RELEASE
	string
	default "-2.1.3" if BR2_GDB_VERSION_6_4
	default "-2.1.3" if BR2_GDB_VERSION_6_4
	default "-2.1.5" if BR2_GDB_VERSION_6_7_1

config BR2_VENDOR_PATCH_DIR
	string
	default "Atmel/avr32" if BR2_TOOLCHAIN_ATMEL_AVR32
endif
if BR2_TOOLCHAIN_UNKNOWNVENDOR
config BR2_VENDOR_SITE
	string "vendor site"
	default "http://vendor.com/somewhere/"

config BR2_VENDOR_SUFFIX
	string "vendor suffix"
	default ""

config BR2_VENDOR_BINUTILS_RELEASE
	string "binutils suffix"
	default ""

config BR2_VENDOR_GCC_RELEASE
	string "gcc suffix"
	default ""

config BR2_VENDOR_UCLIBC_RELEASE
	string "uClibc suffix"
	default ""

config BR2_VENDOR_GDB_RELEASE
	string "gdb suffix"
	default ""

config BR2_VENDOR_PATCH_DIR
	string "local accumulated patchdir"
	default "$(VENDOR)/$(ARCH)/"
endif


endif


config	BR2_EXT_GCC_VERSION_4_1_2
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_GCC_VERSION_4_2_1
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_GCC_VERSION_4_2_2
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_GCC_VERSION_4_2_3
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_BINUTILS_VERSION_2_17
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_UCLIBC_VERSION_0_9_29
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE

config	BR2_EXT_UCLIBC_VERSION_0_9_28_3
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE