diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-05 18:21:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-05 18:21:58 +0000 |
commit | b5893d19fc774939920f8566d8770a00e008f972 (patch) | |
tree | a183650cdd73da0e2fa2171525e36202451900fc /openwrt/toolchain | |
parent | 64f74ab8ec9d1847b437045a10f5b074c7ad835f (diff) | |
download | mtk-20170518-b5893d19fc774939920f8566d8770a00e008f972.zip mtk-20170518-b5893d19fc774939920f8566d8770a00e008f972.tar.gz mtk-20170518-b5893d19fc774939920f8566d8770a00e008f972.tar.bz2 |
hide experimental/developer options from the user. can be reenabled by using make menuconfig DEVELOPER=1
SVN-Revision: 567
Diffstat (limited to 'openwrt/toolchain')
-rw-r--r-- | openwrt/toolchain/Config.in | 41 | ||||
-rw-r--r-- | openwrt/toolchain/Config.in.devel | 55 | ||||
-rw-r--r-- | openwrt/toolchain/binutils/Config.in | 8 | ||||
-rw-r--r-- | openwrt/toolchain/ccache/Config.in | 7 | ||||
-rw-r--r-- | openwrt/toolchain/gcc/Config.in | 15 | ||||
-rw-r--r-- | openwrt/toolchain/uClibc/Config.in | 11 |
6 files changed, 87 insertions, 50 deletions
diff --git a/openwrt/toolchain/Config.in b/openwrt/toolchain/Config.in index 5b3fe70..756dedd 100644 --- a/openwrt/toolchain/Config.in +++ b/openwrt/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/openwrt/toolchain/Config.in.devel b/openwrt/toolchain/Config.in.devel new file mode 100644 index 0000000..0043460 --- /dev/null +++ b/openwrt/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/openwrt/toolchain/binutils/Config.in b/openwrt/toolchain/binutils/Config.in index 4b06f1a..3fe1750 100644 --- a/openwrt/toolchain/binutils/Config.in +++ b/openwrt/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/openwrt/toolchain/ccache/Config.in b/openwrt/toolchain/ccache/Config.in index a265375..9cd6f0b 100644 --- a/openwrt/toolchain/ccache/Config.in +++ b/openwrt/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/openwrt/toolchain/gcc/Config.in b/openwrt/toolchain/gcc/Config.in index 9dd7d0c..7d70d06 100644 --- a/openwrt/toolchain/gcc/Config.in +++ b/openwrt/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/openwrt/toolchain/uClibc/Config.in b/openwrt/toolchain/uClibc/Config.in index 0e4b29a..09453bf 100644 --- a/openwrt/toolchain/uClibc/Config.in +++ b/openwrt/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? |