2008-04-17 20:02:07 +00:00
|
|
|
# Options related to paths and install
|
|
|
|
|
|
|
|
comment "Paths"
|
|
|
|
|
|
|
|
config LOCAL_TARBALLS_DIR
|
|
|
|
string
|
2010-03-29 10:04:27 +00:00
|
|
|
prompt "Local tarballs directory" if ! BACKEND
|
2008-04-17 20:02:07 +00:00
|
|
|
default ""
|
|
|
|
help
|
|
|
|
If you have previously downloaded the tarballs, enter the PATH where
|
|
|
|
you stored them here.
|
|
|
|
|
|
|
|
config SAVE_TARBALLS
|
|
|
|
bool
|
2010-03-29 10:04:27 +00:00
|
|
|
prompt "Save new tarballs" if ! BACKEND
|
|
|
|
depends on LOCAL_TARBALLS_DIR != "" || BACKEND
|
|
|
|
default y if BACKEND
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
If you say 'y' here, new downloaded tarballs will be saved in the
|
|
|
|
directory you entered above.
|
|
|
|
|
2008-06-24 16:19:45 +00:00
|
|
|
config WORK_DIR
|
|
|
|
string
|
2010-03-29 10:04:27 +00:00
|
|
|
prompt "Working directory" if ! BACKEND
|
2010-09-12 19:38:12 +00:00
|
|
|
default "${CT_TOP_DIR}/.build"
|
2008-06-24 16:19:45 +00:00
|
|
|
help
|
|
|
|
Set this to the directory where all build actions will be done.
|
|
|
|
|
2011-04-27 23:10:23 +00:00
|
|
|
The default is "${CT_TOP_DIR}/.build", and leaving this option
|
2008-06-24 16:19:45 +00:00
|
|
|
empty will also use the default.
|
|
|
|
|
|
|
|
You should not need to change that, except in one very peculiar
|
|
|
|
setup:
|
|
|
|
- your crosstool-NG source directory is on the network
|
|
|
|
- you configured crosstool-NG with --local
|
|
|
|
This kind of setup is a pain, as any action involving source file
|
|
|
|
access would have to go through the wire. In this case, you should
|
|
|
|
set CT_WORK_DIR to point to a path local to your machine, to avoid
|
|
|
|
any network overhead.
|
|
|
|
|
|
|
|
Do *NOT* change it if you don't know better.
|
|
|
|
|
2008-04-17 20:02:07 +00:00
|
|
|
config PREFIX_DIR
|
|
|
|
string
|
2010-03-29 10:04:27 +00:00
|
|
|
prompt "Prefix directory" if ! BACKEND
|
2008-06-25 06:24:51 +00:00
|
|
|
default "${HOME}/x-tools/${CT_TARGET}"
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
This is the path the toolchain will run from.
|
|
|
|
|
|
|
|
config INSTALL_DIR
|
|
|
|
string
|
|
|
|
# prompt "Install directory"
|
|
|
|
default "${CT_PREFIX_DIR}"
|
|
|
|
# help
|
2008-06-24 16:19:45 +00:00
|
|
|
# This is the path the toolchain will be installed into.
|
2008-04-17 20:02:07 +00:00
|
|
|
#
|
|
|
|
# Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
|
|
|
|
# you can't write there, you can install somewhere else and have a third
|
|
|
|
# person do the install for you.
|
|
|
|
# The reason you might also want to install elsewhere is if you are going
|
|
|
|
# to package your shinny new toolchain for distribution.
|
|
|
|
|
2011-01-28 21:06:49 +00:00
|
|
|
config RM_RF_PREFIX_DIR
|
|
|
|
bool
|
|
|
|
prompt "| Remove the prefix dir prior to building"
|
|
|
|
default y
|
|
|
|
depends on !BACKEND
|
|
|
|
help
|
|
|
|
If you say 'y' here, then PREFIX_DIR (above) will be eradicated
|
|
|
|
prior to the toolchain is built.
|
|
|
|
|
2011-07-17 14:53:40 +00:00
|
|
|
This can be useful when you are trying different settings (due
|
2011-01-28 21:06:49 +00:00
|
|
|
to build failures or feature tests). In this case, to avoid using
|
|
|
|
a potentially broken previous toolchain, the install location is
|
|
|
|
removed, to start afresh.
|
|
|
|
|
2011-07-17 14:53:40 +00:00
|
|
|
On the other hand, if you are building a final toolchain, and install
|
2011-01-28 21:06:49 +00:00
|
|
|
it into a directory with pre-install, unrelated programs, it would be
|
|
|
|
damageable to remove that directory. In this case, you may want to
|
|
|
|
say 'n' here.
|
|
|
|
|
|
|
|
Note that when acting as a backend, this option is not available, and
|
|
|
|
is forced to 'n'.
|
|
|
|
|
2008-04-17 20:02:07 +00:00
|
|
|
config REMOVE_DOCS
|
|
|
|
bool
|
|
|
|
prompt "Remove documentation"
|
2008-08-01 08:23:29 +00:00
|
|
|
default y
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
Remove the installed documentation (man and info pages).
|
|
|
|
Gains around 8MiB for a uClibc-based, C and C++ compiler.
|
|
|
|
|
2011-11-15 21:06:21 +00:00
|
|
|
config BUILD_MANUALS
|
|
|
|
bool
|
|
|
|
prompt "Build the manuals"
|
|
|
|
depends on ! REMOVE_DOCS
|
|
|
|
help
|
|
|
|
Build the PDF and HTML manuals for the main components such as
|
|
|
|
binutils, GCC, GDB, and the C library.
|
|
|
|
|
2008-04-17 20:02:07 +00:00
|
|
|
config INSTALL_DIR_RO
|
|
|
|
bool
|
|
|
|
prompt "Render the toolchain read-only"
|
2008-08-01 08:23:29 +00:00
|
|
|
default y
|
2008-04-17 20:02:07 +00:00
|
|
|
help
|
|
|
|
Render the directory of the toolchain (and its sub-directories)
|
|
|
|
read-only.
|
|
|
|
|
2011-07-17 14:53:40 +00:00
|
|
|
Useful for toolchains destined for production.
|
2010-05-27 21:18:19 +00:00
|
|
|
|
|
|
|
config STRIP_ALL_TOOLCHAIN_EXECUTABLES
|
|
|
|
bool
|
|
|
|
prompt "Strip all toolchain executables"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
All build host executables contain a lot of unnecessary info.
|
|
|
|
By stripping all executables it slightly speeds up the compilation
|
|
|
|
of large projects.
|
|
|
|
NOTE: It does NOT strip the target libraries, only HOST executables
|