menu "Toolchain settings"

config ADK_TOOLCHAIN_GDB
	prompt "Enable building of the GNU debugger"
	boolean
	default y

config ADK_TOOLCHAIN_GCC_CXX
	prompt "Enable building of G++ (C++ language support in GCC)"
	boolean
	default y

config ADK_TOOLCHAIN_SSP
	prompt "Enable Stack Smashing Protection"
	boolean
	default y

config ADK_TOOLCHAIN_USE_SSP
	prompt "Use SSP for all packages"
 	boolean	
	depends on ADK_TOOLCHAIN_SSP
	default n

config ADK_TOOLCHAIN_LTO
	prompt "Enable Link Time Optimization"
	boolean
	default y

config ADK_TOOLCHAIN_USE_LTO
	prompt "Use Link Time Optimization for all packages"
	boolean
	depends on ADK_TOOLCHAIN_LTO
	default n

config ADK_TOOLCHAIN_GOLD
	prompt "Enable GOLD as linker"
	boolean
	depends on !ADK_LINUX_MIPS
	default n

config ADK_TOOLCHAIN_USE_GOLD
	prompt "Use GOLD as linker for all packages"
	boolean
	depends on ADK_TOOLCHAIN_GOLD
	default n

config ADK_LINUX_ARM_WITH_THUMB
	prompt "Use THUMB2 ARM mode"
	boolean
	depends on ADK_CPU_CORTEX_A9 && ADK_TARGET_LIB_GLIBC
	select ADK_KERNEL_THUMB2_KERNEL
	default n

endmenu
