summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/binutils/Config.in
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-07 11:46:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-07 11:46:19 -0600
commit3c1ac20ddbe5c1743e0505b9983b00f35f1fcc36 (patch)
tree42813d6b03f8941b30d02a166f512e38527aa2a5 /misc/buildroot/toolchain/binutils/Config.in
parent6d5fc053bfffeba6cd2b2b9b133b1828e2f7df12 (diff)
downloadnuttx-3c1ac20ddbe5c1743e0505b9983b00f35f1fcc36.tar.gz
nuttx-3c1ac20ddbe5c1743e0505b9983b00f35f1fcc36.tar.bz2
nuttx-3c1ac20ddbe5c1743e0505b9983b00f35f1fcc36.zip
Add support for the kconfig-frontends tools
Diffstat (limited to 'misc/buildroot/toolchain/binutils/Config.in')
-rw-r--r--misc/buildroot/toolchain/binutils/Config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/binutils/Config.in b/misc/buildroot/toolchain/binutils/Config.in
index c3dfa133c..2f7ce321e 100644
--- a/misc/buildroot/toolchain/binutils/Config.in
+++ b/misc/buildroot/toolchain/binutils/Config.in
@@ -2,12 +2,19 @@
comment "Binutils Options"
+config BR2_PACKAGE_BINUTILS
+ bool "Build binutils"
+ default n
+ help
+ Build the binutils for the target architecture.
+
choice
prompt "Binutils Version"
default BR2_BINUTILS_VERSION_2_19_1 if BR2_GCC_CORTEX
default BR2_BINUTILS_VERSION_2_19 if !BR2_avr32 && !BR2_GCC_CORTEX && !BR2_m9s12x
default BR2_BINUTILS_VERSION_2_18 if BR2_m9s12x
default BR2_BINUTILS_VERSION_2_17 if !BR2_GCC_CORTEX && !BR2_m9s12x
+ depends on BR2_PACKAGE_BINUTILS
help
Select the version of binutils you wish to use.
@@ -43,6 +50,7 @@ endchoice
config BR2_BINUTILS_VERSION
string
+ depends on BR2_PACKAGE_BINUTILS
default "2.17" if BR2_BINUTILS_VERSION_2_17
default "2.18" if BR2_BINUTILS_VERSION_2_18
default "2.19" if BR2_BINUTILS_VERSION_2_19
@@ -54,5 +62,6 @@ config BR2_BINUTILS_VERSION
config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
string "Additional binutils options"
default ""
+ depends on BR2_PACKAGE_BINUTILS
help
Any additional binutils options you may want to include ...