Browse Source

prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu

SVN-Revision: 17560
Nicolas Thill 16 years ago
parent
commit
de9bb2b998
2 changed files with 39 additions and 34 deletions
  1. 39 0
      Config.in
  2. 0 34
      toolchain/Config.in

+ 39 - 0
Config.in

@@ -122,6 +122,20 @@ config CLEAN_IPKG
 	help
 	help
 		This removes all ipkg data from the target directory before building the root fs
 		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
 choice
 	prompt "Binary stripping method"
 	prompt "Binary stripping method"
 	default USE_STRIP   if USE_GLIBC || USE_EGLIBC
 	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
 		In this instance, the --refererence option of git clone will
 		be used thus creating a quick local clone of your repo.
 		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 "toolchain/Config.in"
 
 
 source "target/imagebuilder/Config.in"
 source "target/imagebuilder/Config.in"

+ 0 - 34
toolchain/Config.in

@@ -83,40 +83,6 @@ config INSIGHT
 	help
 	help
 		Enable if you want to build insight-gdb
 		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
 config USE_UCLIBC
 	bool
 	bool
 	default y if !TOOLCHAINOPTS
 	default y if !TOOLCHAINOPTS