summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in41
-rw-r--r--toolchain/Config.in.devel55
-rw-r--r--toolchain/binutils/Config.in8
-rw-r--r--toolchain/ccache/Config.in7
-rw-r--r--toolchain/gcc/Config.in15
-rw-r--r--toolchain/uClibc/Config.in11
6 files changed, 87 insertions, 50 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 5b3fe7012..756deddd2 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -1,56 +1,29 @@
#
-menu "Toolchain Options"
-
-
source "toolchain/uClibc/Config.in"
source "toolchain/binutils/Config.in"
source "toolchain/gcc/Config.in"
source "toolchain/ccache/Config.in"
-
-comment "Common Toolchain Options"
+if CONFIG_DEVEL
+ comment "Common Toolchain Options"
+endif
config BR2_ENABLE_MULTILIB
- bool "Enable multilib support?"
+ bool
default n
- help
- If you want multilib enabled, enable this...
config BR2_LARGEFILE
- bool "Enable large file (files > 2 GB) support?"
+ bool
depends on !BR2_cris
default y
- help
- Enable large file (files > 2 GB) support
config BR2_SOFT_FLOAT
- bool "Use software floating point by default"
+ bool
default n
depends on BR2_arm || BR2_mips || BR2_powerpc
- help
- If your target CPU does not have a Floating Point Unit (FPU) or a
- kernel FPU emulator, but you still wish to support floating point
- functions, then everything will need to be compiled with soft floating
- point support (-msoft-float).
-
- Most people will answer N.
config BR2_TARGET_OPTIMIZATION
- string "Target Optimizations"
+ string
default "-Os -pipe -mips32 -mtune=mips32"
- help
- Optimizations to use when building for the target host.
-
-# Might be worth experimenting with for gcc 3.4.x.
-#GCC_WITH_CPU:=
-#GCC_WITH_ARCH:=
-#GCC_WITH_TUNE:=
-
-#GCC_WITH_CPU:=--with-cpu=
-#GCC_WITH_ARCH:=--with-arch=
-#GCC_WITH_TUNE:=--with-tune=
-
-
-endmenu
diff --git a/toolchain/Config.in.devel b/toolchain/Config.in.devel
new file mode 100644
index 000000000..00434607a
--- /dev/null
+++ b/toolchain/Config.in.devel
@@ -0,0 +1,55 @@
+#
+
+menu "Toolchain Options"
+
+source "toolchain/uClibc/Config.in"
+source "toolchain/binutils/Config.in"
+source "toolchain/gcc/Config.in"
+source "toolchain/ccache/Config.in"
+
+
+comment "Common Toolchain Options"
+
+config BR2_ENABLE_MULTILIB
+ bool "Enable multilib support?"
+ default n
+ help
+ If you want multilib enabled, enable this...
+
+config BR2_LARGEFILE
+ bool "Enable large file (files > 2 GB) support?"
+ depends on !BR2_cris
+ default y
+ help
+ Enable large file (files > 2 GB) support
+
+config BR2_SOFT_FLOAT
+ bool "Use software floating point by default"
+ default n
+ depends on BR2_arm || BR2_mips || BR2_powerpc
+ help
+ If your target CPU does not have a Floating Point Unit (FPU) or a
+ kernel FPU emulator, but you still wish to support floating point
+ functions, then everything will need to be compiled with soft floating
+ point support (-msoft-float).
+
+ Most people will answer N.
+
+config BR2_TARGET_OPTIMIZATION
+ string "Target Optimizations"
+ default "-Os -pipe -mips32 -mtune=mips32"
+ help
+ Optimizations to use when building for the target host.
+
+# Might be worth experimenting with for gcc 3.4.x.
+#GCC_WITH_CPU:=
+#GCC_WITH_ARCH:=
+#GCC_WITH_TUNE:=
+
+#GCC_WITH_CPU:=--with-cpu=
+#GCC_WITH_ARCH:=--with-arch=
+#GCC_WITH_TUNE:=--with-tune=
+
+
+endmenu
+
diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
index 4b06f1aa9..3fe1750a4 100644
--- a/toolchain/binutils/Config.in
+++ b/toolchain/binutils/Config.in
@@ -1,9 +1,11 @@
# Choose binutils version.
-comment "Binutils Options"
+if CONFIG_DEVEL
+ comment "Binutils Options"
+endif
choice
- prompt "Binutils Version"
+ prompt "Binutils Version" if CONFIG_DEVEL
default BR2_BINUTILS_VERSION_2_14_90_0_8
help
Select the version of binutils you wish to use.
@@ -56,7 +58,7 @@ config BR2_BINUTILS_VERSION
string
default "2.14.90.0.6" if BR2_BINUTILS_VERSION_2_14_90_0_6
default "2.14.90.0.7" if BR2_BINUTILS_VERSION_2_14_90_0_7
- default "2.14.90.0.8" if BR2_BINUTILS_VERSION_2_14_90_0_8
+ default "2.14.90.0.8" if BR2_BINUTILS_VERSION_2_14_90_0_8 || !CONFIG_DEVEL
default "2.15" if BR2_BINUTILS_VERSION_2_15
default "2.15.90.0.1" if BR2_BINUTILS_VERSION_2_15_90_0_1
default "2.15.90.0.0.1.1" if BR2_BINUTILS_VERSION_2_15_90_0_1_1
diff --git a/toolchain/ccache/Config.in b/toolchain/ccache/Config.in
index a265375c4..9cd6f0b11 100644
--- a/toolchain/ccache/Config.in
+++ b/toolchain/ccache/Config.in
@@ -1,9 +1,10 @@
#
-
-comment "Ccache Options"
+if CONFIG_DEVEL
+ comment "Ccache Options"
+endif
config BR2_CCACHE
- bool "Enable ccache support?"
+ bool "Enable ccache support?" if CONFIG_DEVEL
default y
help
Enable ccache support?
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 9dd7d0ca4..7d70d0691 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -2,10 +2,12 @@
# WARNING -- 2.95 currently only builds for i386, arm, mips*, and powerpc.
# WARNING -- 2.95 does not currently build natively for the target.
-comment "Gcc Options"
+if CONFIG_DEVEL
+ comment "Gcc Options"
+endif
choice
- prompt "GCC compiler Version"
+ prompt "GCC compiler Version" if CONFIG_DEVEL
default BR2_GCC_VERSION_3_3_5
help
Select the version of gcc you wish to use.
@@ -35,10 +37,9 @@ endchoice
config BR2_GCC_VERSION
string
- default "2.95" if BR2_GCC_VERSION_2_95
default "3.3.3" if BR2_GCC_VERSION_3_3_3
default "3.3.4" if BR2_GCC_VERSION_3_3_4
- default "3.3.5" if BR2_GCC_VERSION_3_3_5
+ default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
default "3.4.0" if BR2_GCC_VERSION_3_4_0
default "3.4.1" if BR2_GCC_VERSION_3_4_1
default "3.4.2" if BR2_GCC_VERSION_3_4_2
@@ -53,13 +54,15 @@ config BR2_GCC_USE_SJLJ_EXCEPTIONS
but not dynamic. So use setjmp/longjmp exceptions by default.
config BR2_EXTRA_GCC_CONFIG_OPTIONS
- string "Additional gcc options"
+ string
+ prompt "Additional gcc options" if CONFIG_DEVEL
default ""
help
Any additional gcc options you may want to include....
config BR2_INSTALL_LIBSTDCPP
- bool "Build/install c++ compiler and libstdc++?"
+ bool
+ prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
default n
help
Build/install c++ compiler and libstdc++?
diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index 0e4b29a7d..09453bff3 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -1,10 +1,12 @@
# Choose uClibc options
#
-
-comment "uClibc Options"
+if CONFIG_DEVEL
+ comment "uClibc Options"
+endif
config BR2_UCLIBC_VERSION_SNAPSHOT
- bool "Use the daily snapshot of uClibc?"
+ bool
+ prompt "Use the daily snapshot of uClibc?" if CONFIG_DEVEL
default n
help
Would you like to use the latest daily snapshot?
@@ -15,7 +17,8 @@ config BR2_USE_UCLIBC_SNAPSHOT
depends on BR2_UCLIBC_VERSION_SNAPSHOT
config BR2_ENABLE_LOCALE
- bool "Enable locale/gettext/i18n support?"
+ bool
+ prompt "Enable locale/gettext/i18n support?" if CONFIG_DEVEL
default n
help
Enable locale/gettext/i18n support?