summaryrefslogtreecommitdiffstats
path: root/target/device/Toolchain.in
blob: 67881cd96c8d9819fafdd4fabb8864b980182f31 (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
choice
	prompt "Source location:"
	default BR2_TOOLCHAIN_NORMAL		if!BR2_avr32
	default BR2_TOOLCHAIN_ATMEL_AVR32	if BR2_avr32
	depends on BR2_TOOLCHAIN_BUILDROOT
	help
	  Select whether to use the toolchain built by the buildroot
	  system or an external pre-built toolchain.

config BR2_TOOLCHAIN_NORMAL
	bool "Use default sources for toolchain"
	depends on !BR2_avr32
	help
	  Download vanilla binutils, gcc, uclibc and gdb from their 
	  main download locations, and apply patches from the
	  "toolchain/<package>" directores.
	  I.E: Do not download a prepatched vendor source suite.

config BR2_TOOLCHAIN_ATMEL_AVR32
	bool "Use prepatched source for AVR32 toolchain"
	depends on BR2_avr32
	depends on BR2_GCC_VERSION_4_1_2
	depends on BR2_GDB_VERSION_6_4 || !BR2_PACKAGE_GDB
	depends on BR2_BINUTILS_VERSION_2_17
	depends on BR2_UCLIBC_VERSION_0_9_28_3

endchoice

config BR2_VENDOR_SITE
	string
	default "$(BR2_ATMEL_MIRROR)/Source" 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.0" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_GCC_RELEASE
	string
	default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_UCLIBC_RELEASE
	string
	default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_GDB_RELEASE
	string
	default "-2.0" if BR2_TOOLCHAIN_ATMEL_AVR32

config BR2_VENDOR_PATCH_DIR
	string
	default "target/device/Atmel/toolchain/avr32" if BR2_TOOLCHAIN_ATMEL_AVR32