mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-19 03:06:42 +00:00
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(-)
This commit is contained in:
parent
503b29d12e
commit
49f53cc108
@ -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"
|
||||
|
@ -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
|
42
config/global/extract.in
Normal file
42
config/global/extract.in
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user