prepare for upcoming external toolchain support: move config items not strictly toolc...
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Sep 2009 14:04:41 +0000 (14:04 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Sep 2009 14:04:41 +0000 (14:04 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17560 3c298f89-4303-0410-b956-a3cf2f4a3e73

Config.in
toolchain/Config.in

index e03cf03..b5b65ab 100644 (file)
--- 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"
index c7b876b..df4ad84 100644 (file)
@@ -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