summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-10 14:04:41 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-10 14:04:41 +0000
commit158bc02f791b4d227201ccf0d1f75f5cc61ce69a (patch)
treea1abf3b0edbc453d51610f9a9d69ce70c033ae76
parent994add5941c77e235c157c1fbbe4eb3778efa23a (diff)
prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17560 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Config.in39
-rw-r--r--toolchain/Config.in34
2 files changed, 39 insertions, 34 deletions
diff --git a/Config.in b/Config.in
index e03cf03af3..b5b65abd2d 100644
--- a/Config.in
+++ b/Config.in
@@ -122,6 +122,20 @@ config CLEAN_IPKG
help
This removes all ipkg data from the target directory before building the root fs
+config LARGEFILE
+ bool
+ prompt "Enable large file (files > 2 GB) support"
+ default y
+ help
+ Enable large file (files > 2 GB) support.
+
+config SHADOW_PASSWORDS
+ bool
+ prompt "Enable shadow password support"
+ default y
+ help
+ Enable shadow password support.
+
choice
prompt "Binary stripping method"
default USE_STRIP if USE_GLIBC || USE_EGLIBC
@@ -286,6 +300,31 @@ config KERNEL_GIT_LOCAL_REPOSITORY
In this instance, the --refererence option of git clone will
be used thus creating a quick local clone of your repo.
+
+menuconfig TARGET_OPTIONS
+ bool "Target Options" if DEVEL
+
+config TARGET_OPTIMIZATION
+ string
+ prompt "Target Optimizations" if TARGET_OPTIONS
+ default DEFAULT_TARGET_OPTIMIZATION
+ help
+ Optimizations to use when building for the target host.
+
+config SOFT_FLOAT
+ bool
+ prompt "Use software floating point by default" if TARGET_OPTIONS
+ default y
+ depends on (arm || armeb || powerpc || mipsel || mips) && !HAS_FPU
+ 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.
+
+
source "toolchain/Config.in"
source "target/imagebuilder/Config.in"
diff --git a/toolchain/Config.in b/toolchain/Config.in
index c7b876b690..df4ad84358 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -83,40 +83,6 @@ config INSIGHT
help
Enable if you want to build insight-gdb
-config LARGEFILE
- bool
- prompt "Enable large file (files > 2 GB) support?" if TOOLCHAINOPTS
- default y
- help
- Enable large file (files > 2 GB) support
-
-config SHADOW_PASSWORDS
- bool
- prompt "Enable shadow password support?" if TOOLCHAINOPTS
- default y
- help
- Enable shadow password support.
-
-config SOFT_FLOAT
- bool
- prompt "Use software floating point by default" if TOOLCHAINOPTS
- default y
- depends on (arm || armeb || powerpc || mipsel || mips) && !HAS_FPU
- 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 TARGET_OPTIMIZATION
- string
- prompt "Target Optimizations" if TOOLCHAINOPTS
- default DEFAULT_TARGET_OPTIMIZATION
- help
- Optimizations to use when building for the target host.
-
config USE_UCLIBC
bool
default y if !TOOLCHAINOPTS