From 158bc02f791b4d227201ccf0d1f75f5cc61ce69a Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 10 Sep 2009 14:04:41 +0000 Subject: [PATCH] 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 --- Config.in | 39 +++++++++++++++++++++++++++++++++++++++ toolchain/Config.in | 34 ---------------------------------- 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/Config.in b/Config.in index e03cf03af..b5b65abd2 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 c7b876b69..df4ad8435 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 -- 2.35.1