prepare for upcoming external toolchain support: move config items not strictly toolc...
authorNicolas Thill <nico@openwrt.org>
Thu, 10 Sep 2009 14:04:41 +0000 (14:04 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 10 Sep 2009 14:04:41 +0000 (14:04 +0000)
SVN-Revision: 17560

Config.in
toolchain/Config.in

index e03cf03af33ebd21bd7181890355be05bc46d566..b5b65abd2d09ed6726aaaa8affce27ee1a5870f7 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
 
        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
 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.
 
                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"
 source "toolchain/Config.in"
 
 source "target/imagebuilder/Config.in"
index c7b876b690ae1159be4fe0c0bf4108b7525f71b2..df4ad84358aab6a8cd78e8f2d55111d1b5298676 100644 (file)
@@ -83,40 +83,6 @@ config INSIGHT
        help
                Enable if you want to build insight-gdb
 
        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
 config USE_UCLIBC
        bool
        default y if !TOOLCHAINOPTS