mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 15:54:04 +02:00
hide experimental/developer options from the user. can be reenabled by using make menuconfig DEVELOPER=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@567 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dc20ebf6cf
commit
362585143d
26
Config.in
26
Config.in
@ -11,7 +11,6 @@ config BR2_HAVE_DOT_CONFIG
|
||||
default y
|
||||
|
||||
choice
|
||||
prompt "Target Architecture"
|
||||
default BR2_mipsel
|
||||
help
|
||||
Stuff
|
||||
@ -65,7 +64,7 @@ config BR2_ARCH
|
||||
default "i386" if BR2_i386
|
||||
default "m68k" if BR2_m68k
|
||||
default "mips" if BR2_mips
|
||||
default "mipsel" if BR2_mipsel
|
||||
default "mipsel" if BR2_mipsel || !CONFIG_DEVEL
|
||||
default "powerpc" if BR2_powerpc
|
||||
default "sh3" if BR2_sh3
|
||||
default "sh3eb" if BR2_sh3eb
|
||||
@ -74,36 +73,21 @@ config BR2_ARCH
|
||||
default "sparc" if BR2_sparc
|
||||
|
||||
|
||||
menu "Build options"
|
||||
|
||||
config BR2_WGET
|
||||
string "Wget command"
|
||||
string
|
||||
default "wget --passive-ftp -nd"
|
||||
|
||||
config BR2_TAR_VERBOSITY
|
||||
bool "Tar verbose"
|
||||
bool
|
||||
default n
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
string "Toolchain and header file location?"
|
||||
string
|
||||
default "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)"
|
||||
help
|
||||
This is the location where the toolchain will be installed.
|
||||
Since the toolchain will not work if it is moved from this
|
||||
location, it is important for people wishing to package up
|
||||
a uClibc toolchain that this be set to the location in which
|
||||
the toolchain will be used.
|
||||
|
||||
Most people will leave this set to the default value of
|
||||
"$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)".
|
||||
|
||||
config BR2_JLEVEL
|
||||
int "Number of jobs to run simultaneously"
|
||||
int
|
||||
default "1"
|
||||
help
|
||||
Number of jobs to run simultanesouly
|
||||
|
||||
endmenu
|
||||
|
||||
source "toolchain/Config.in"
|
||||
source "package/Config.in"
|
||||
|
114
Config.in.devel
Normal file
114
Config.in.devel
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
|
||||
mainmenu "OpenWRT Configuration"
|
||||
|
||||
config MODULES
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_HAVE_DOT_CONFIG
|
||||
bool
|
||||
default y
|
||||
|
||||
config CONFIG_DEVEL
|
||||
bool
|
||||
default y
|
||||
|
||||
choice
|
||||
prompt "Target Architecture" if CONFIG_DEVEL
|
||||
default BR2_mipsel
|
||||
help
|
||||
Stuff
|
||||
|
||||
config BR2_arm
|
||||
bool "arm"
|
||||
|
||||
config BR2_armeb
|
||||
bool "armeb"
|
||||
|
||||
config BR2_cris
|
||||
bool "cris"
|
||||
|
||||
config BR2_i386
|
||||
bool "i386"
|
||||
|
||||
config BR2_m68k
|
||||
bool "m68k"
|
||||
|
||||
config BR2_mips
|
||||
bool "mips"
|
||||
|
||||
config BR2_mipsel
|
||||
bool "mipsel"
|
||||
|
||||
config BR2_powerpc
|
||||
bool "powerpc"
|
||||
|
||||
config BR2_sh3
|
||||
bool "sh3"
|
||||
|
||||
config BR2_sh3eb
|
||||
bool "sh3eb"
|
||||
|
||||
config BR2_sh4
|
||||
bool "sh4"
|
||||
|
||||
config BR2_sh4eb
|
||||
bool "sh4eb"
|
||||
|
||||
config BR2_sparc
|
||||
bool "sparc"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_ARCH
|
||||
string
|
||||
default "arm" if BR2_arm
|
||||
default "armeb" if BR2_armeb
|
||||
default "cris" if BR2_cris
|
||||
default "i386" if BR2_i386
|
||||
default "m68k" if BR2_m68k
|
||||
default "mips" if BR2_mips
|
||||
default "mipsel" if BR2_mipsel
|
||||
default "powerpc" if BR2_powerpc
|
||||
default "sh3" if BR2_sh3
|
||||
default "sh3eb" if BR2_sh3eb
|
||||
default "sh4" if BR2_sh4
|
||||
default "sh4eb" if BR2_sh4eb
|
||||
default "sparc" if BR2_sparc
|
||||
|
||||
|
||||
menu "Build options"
|
||||
|
||||
config BR2_WGET
|
||||
string "Wget command"
|
||||
default "wget --passive-ftp -nd"
|
||||
|
||||
config BR2_TAR_VERBOSITY
|
||||
bool "Tar verbose"
|
||||
default n
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
string "Toolchain and header file location?"
|
||||
default "$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)"
|
||||
help
|
||||
This is the location where the toolchain will be installed.
|
||||
Since the toolchain will not work if it is moved from this
|
||||
location, it is important for people wishing to package up
|
||||
a uClibc toolchain that this be set to the location in which
|
||||
the toolchain will be used.
|
||||
|
||||
Most people will leave this set to the default value of
|
||||
"$(BASE_DIR)/staging_dir_$(ARCH)$(ARCH_FPU_SUFFIX)".
|
||||
|
||||
config BR2_JLEVEL
|
||||
int "Number of jobs to run simultaneously"
|
||||
default "1"
|
||||
help
|
||||
Number of jobs to run simultanesouly
|
||||
|
||||
endmenu
|
||||
|
||||
source "toolchain/Config.in.devel"
|
||||
source "package/Config.in"
|
||||
source "target/Config.in"
|
4
Makefile
4
Makefile
@ -24,7 +24,11 @@
|
||||
#--------------------------------------------------------------
|
||||
TOPDIR=${shell pwd}
|
||||
export TOPDIR
|
||||
ifneq ($(DEVELOPER),)
|
||||
CONFIG_CONFIG_IN = Config.in.devel
|
||||
else
|
||||
CONFIG_CONFIG_IN = Config.in
|
||||
endif
|
||||
CONFIG_DEFCONFIG = .defconfig
|
||||
CONFIG = package/config
|
||||
|
||||
|
@ -12,6 +12,7 @@ config BR2_PACKAGE_BUSYBOX
|
||||
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
bool "Use the daily snapshot of busybox?"
|
||||
depends BR2_PACKAGE_BUSYBOX
|
||||
depends CONFIG_DEVEL
|
||||
default n
|
||||
help
|
||||
Use the latest busybox CVS snapshot instead of release.
|
||||
|
@ -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
|
||||
|
||||
|
55
toolchain/Config.in.devel
Normal file
55
toolchain/Config.in.devel
Normal file
@ -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
|
||||
|
@ -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
|
||||
|
@ -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?
|
||||
|
@ -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++?
|
||||
|
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user