menu "Toolchain"
choice
	prompt "Toolchain type"
	default BR2_TOOLCHAIN_BUILDROOT
	help
	  Select whether to use the toolchain provided by buildroot
	  or an external toolchain.

config BR2_TOOLCHAIN_BUILDROOT
	bool "Buildroot toolchain"
	depends on !BR2_avr32

config BR2_TOOLCHAIN_EXTERNAL
	bool "External binary toolchain"

config BR2_TOOLCHAIN_EXTERNAL_SOURCE
	bool "External source toolchain"
endchoice

config BR2_TOOLCHAIN_SOURCE
	bool
	default y if !BR2_TOOLCHAIN_EXTERNAL
	default n if BR2_TOOLCHAIN_EXTERNAL

source "target/device/Toolchain.in"

source "toolchain/Config.in.2"
source "toolchain/external-toolchain/Config.in"

endmenu