From 49f53cc108100de4a696d64877979e27eaf2a28a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 19 Jul 2008 21:22:58 +0000 Subject: [PATCH] Split-up download and extract options into two separate files, because download options are begining to be numerous. /trunk/config/global/extract.in | 193 1 192 0 ---------------------------------------------- /trunk/config/global/download.in | 52 1 51 0 ------------ /trunk/config/global.in | 3 2 1 0 + 3 files changed, 4 insertions(+), 244 deletions(-) --- config/global.in | 3 +- .../{download_extract.in => download.in} | 52 +------------------ config/global/extract.in | 42 +++++++++++++++ 3 files changed, 45 insertions(+), 52 deletions(-) rename config/global/{download_extract.in => download.in} (75%) create mode 100644 config/global/extract.in diff --git a/config/global.in b/config/global.in index 82617a5c..8b4219b3 100644 --- a/config/global.in +++ b/config/global.in @@ -3,7 +3,8 @@ menu "Paths and misc options" source "config/global/ct-behave.in" -source "config/global/download_extract.in" +source "config/global/download.in" +source "config/global/extract.in" source "config/global/build-behave.in" source "config/global/paths.in" source "config/global/logging.in" diff --git a/config/global/download_extract.in b/config/global/download.in similarity index 75% rename from config/global/download_extract.in rename to config/global/download.in index 3a0db354..a102295a 100644 --- a/config/global/download_extract.in +++ b/config/global/download.in @@ -1,4 +1,4 @@ -# Options specific to downloading and extracting packages +# Options specific to downloading packages comment "Downloading" @@ -181,53 +181,3 @@ config PROXY_TYPE default "socksauto" if PROXY_TYPE_SOCKS_AUTO default "socks4" if PROXY_TYPE_SOCKS_4 default "socks5" if PROXY_TYPE_SOCKS_5 - -# Force restore indentation -config BREAK_INDENT - bool - default n - -if ! ONLY_DOWNLOAD - -comment "Extracting" - -config FORCE_EXTRACT - bool - prompt "Force extractions" - default n - help - Force extraction of already exctracted tarballs. - - Usefull if you suspect a previous extract did not complete (eg. broken - tarball), or you added a new set of patches for this component. - -config OVERIDE_CONFIG_GUESS_SUB - bool - prompt "Override config.{guess,sub}" - default y - help - Override tools' versions of config.guess and config.sub with the ones - from crosstool-NG. This means that all instances of config.guess and - config.sub in gcc, binutils, glibc, etc... will be replaced. - - Most of the time, the versions of those scripts found in packages are old - versions, thus lacking some target definitions. This is the case for - uClibc-based tuples in old versions of gcc and gdb, for example. - - Also, doing so will guarantee that all components have the same tuples - definitions for your target, and not diverging ones. - - You can update the ones provided with crosstool-NG by first running: - ct-ng updatetools - in the directory where you want to run crosstool-NG prior to the build. - -config ONLY_EXTRACT - bool - prompt "Stop after extracting tarballs" - default n - help - Exit after unpacking and patching tarballs. - - Usefull to look at the code before doing the build itself. - -endif # ! ONLY_DOWNLOAD diff --git a/config/global/extract.in b/config/global/extract.in new file mode 100644 index 00000000..d7e9f346 --- /dev/null +++ b/config/global/extract.in @@ -0,0 +1,42 @@ +# Options specific to extracting packages + +comment "Extracting" + +config FORCE_EXTRACT + bool + prompt "Force extractions" + default n + help + Force extraction of already exctracted tarballs. + + Usefull if you suspect a previous extract did not complete (eg. broken + tarball), or you added a new set of patches for this component. + +config OVERIDE_CONFIG_GUESS_SUB + bool + prompt "Override config.{guess,sub}" + default y + help + Override tools' versions of config.guess and config.sub with the ones + from crosstool-NG. This means that all instances of config.guess and + config.sub in gcc, binutils, glibc, etc... will be replaced. + + Most of the time, the versions of those scripts found in packages are old + versions, thus lacking some target definitions. This is the case for + uClibc-based tuples in old versions of gcc and gdb, for example. + + Also, doing so will guarantee that all components have the same tuples + definitions for your target, and not diverging ones. + + You can update the ones provided with crosstool-NG by first running: + ct-ng updatetools + in the directory where you want to run crosstool-NG prior to the build. + +config ONLY_EXTRACT + bool + prompt "Stop after extracting tarballs" + default n + help + Exit after unpacking and patching tarballs. + + Usefull to look at the code before doing the build itself.