aboutsummaryrefslogtreecommitdiff
path: root/config/global/paths.in
Commit message (Collapse)AuthorAgeFilesLines
* Add option to build toolchain tarballChris Packham2022-06-151-0/+28
| | | | | | | | | | | | | | Add TARBALL_RESULT option that will produce a tarball of the final toolchain to make it easier to deploy the toolchain to other machines. The implementation uses `find | sort` instead of `tar --sort` because this was introduced in GNU Tar v1.28, which is not available in some LTS Linux distributions. This is a variation of the command recommended here: https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs Closes #1262 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* move BUILD_DIR variable into KconfigNorbert Lange2019-10-191-0/+4
| | | | | | | this allows users to reference this variable, for ex. in TARGET_CFLAGS to remap paths. Signed-off-by: Norbert Lange <nolange79@gmail.com>
* Implement an option to store downloads in subdirsAlexey Neyman2019-02-131-0/+11
| | | | | | ... following the buildroot model. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make license collection optional, on by defaultAlexey Neyman2018-11-071-0/+9
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Make CT_PREFIX_DIR/CT_WORK_DIR/CT_BUILD_TOP_DIR absoluteAlexey Neyman2018-09-271-1/+1
| | | | | | | | ... if they aren't already. Fixes #1010. Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire BACKEND stuffAlexey Neyman2017-04-231-9/+5
| | | | | | | ... it is possible to just not set it in the configuration, why force it? It just increases the complexity in Kconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make build-all rely on kconfig options.Alexey Neyman2017-01-191-1/+5
| | | | | | | | | | | | | For that, make CT_BUILD_TOP_DIR a non-settable config option (so that it is recursively expanded with CT_HOST/CT_TARGET). Use a common prefix, with same default as for regular sample build. Use showConfig.sh to determine host toolchain path (for canadian crosses) and build directory to be removed. Remove LIBC_SYSROOT_ARG (unused). Signed-off-by: Alexey Neyman <stilor@att.net>
* Simplify config saving.Alexey Neyman2017-01-191-2/+2
| | | | | | Instead of hardcoding defaults in saveSample.sh.in, have the same defaults in config. Then we can just remove them when saving the config.
* Install canadian crosses into a separate subdir.Alexey Neyman2017-01-191-1/+1
| | | | | | | | | | | | Makes them sorted out by host, and removes the need for similar hack in samples.mk. Change how canadian crosses are named: using `=' character resulted in Glibc build failure. Move loading config into a common function, CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* Kill CT_INSTALL_DIR.Alexey Neyman2016-12-191-14/+1
| | | | | | We now use CT_PREFIX and expect the resulting toolchain to be relocatable. Signed-off-by: Alexey Neyman <stilor@att.net>
* config: Remove CUSTOM_LOCATION_ROOT_DIRBryan Hundven2015-12-081-9/+0
| | | | | | | | | | | On top of making <component>_CUSTOM much more complicated to rewrite, you couldn't depend on a requirement for all of the components to treat custom sources the same with it around. If you need a custom source for a component, define it in the component. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* gcc: Remove gcc <= 4.7.xBryan Hundven2015-11-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | As per #222, in crosstool-NG >= 1.23.0, we will only support: [upstream supported gcc versions] - 1 As of this writing, these versions are: * 5.2.0 * 4.9.3 * 4.8.5 (the -1, since development on 4.8.x is now closed) I plan to keep 4.8.5 around because of some architectures having issues with over-optimization or just faulty optimization in the 4.9.x and possibly newer versions. I also cleaned up a requirement for glibc to depend on >= gcc-4.6.x for >= glibc-2.20, but since the lowest gcc we support after this change is >= 4.8.5, this condition can go away. Patches for older gcc versions are removed in the next commit. This closes #222 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Use install-strip target for gcc optionallyIlya Lyubimov2015-11-111-3/+13
|
* all: unmark experimental featuresYann E. MORIN"2012-12-261-1/+1
| | | | | | | | | | It's been some time now we've had those features, so unmark them being experimental. It does not mean everything is perfect, but may gather some more testing of those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* scripts/functions: add a generic custom location infrastructureDavid Holsgrove2012-10-041-0/+9
| | | | | | | | | | | | | | Add a generic custom location infrastructure (inspired by the one in kernel/linux) to allow the user to use custom tarballs or directories for any component. Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com> [yann.morin.1998@free.fr: move config option, improve help text, fix API doc] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <131c163c69f9cc81d2be.1349931191@localhost.localdomain> PatchWork-Id: 190784 Message-Id: <0bbaba9190a76ba97f72.1349931192@localhost.localdomain> PatchWork-Id: 190785
* scripts: add support for building manualsYann E. MORIN"2011-11-161-0/+8
| | | | | | | | | | | | | | | | | | | | | Add support for building the HTML and PDF manuals for the major components. Implement for binutils, GCC, GDB, and GLIBC. Always build all manuals and install a subset. Be explicit about the subset to reduce the clutter and to avoid getting copies of common manuals like bfd from all of the sourceware based components. Downside of being explicit is that you need to update it when a new component comes along. Build the manuals as part of the last GCC build, namely 'cc' for glibc based ones and cc_core_pass_2 for baremetal. An example of the output is at: http://people.linaro.org/~michaelh/incoming/crosstool-NG/ Signed-off-by: Michael Hope <michael.hope@linaro.org> [yann.morin.1998@anciens.enib.fr: depends on ! remove docs; gold manual install] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* misc: fix more typos here and there...Yann E. MORIN"2011-07-171-3/+3
| | | | | Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* kconfig: remove useless 'default n'Benoît THÉBAUDEAU"2011-05-311-1/+0
| | | | | | | kconfig bools are disabled by default, so specifying 'default n' is useless and noisy. This patch removes all occurrences of 'default n'. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
* config: small help fix up for work dir defaultYann E. MORIN"2011-04-281-1/+1
| | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* config: add an option not to remove the destination directoryYann E. MORIN"2011-01-281-0/+22
| | | | | | | | | | | | | | | | | | In certain circumstances, removing the destination/installation directory is a bad idea. For example, when the build environment is already taking care of sanitising the build tree, and pre-installs stuff in there, it is a very bad idea to remove the destination directory. This happens now in buildroot, as the crostool-NG backend now installs the toolchain in the common host-tools directory, and pre-install there a few host-utilities (eg. host-automake and host-gawk). Provide a config knob to turn on/off the removal of the destination directory, defaulting to 'y' (previous behavior), and forced to 'n' when used as a backend. Reported-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* config: change name of default build dirYann E. MORIN"2010-09-121-1/+1
| | | | | | | | 'targets' is not really meaningfull. 'build' means what it means. '.build' just hides it as well! :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
* scripts: add option to strip all toolchain executablesRemy Bohmer2010-05-271-0/+10
| | | | | | | | | | To reduce filesizes of the toolchain and even improve build times of projects to be build with this toolchain it is usefull to strip the delivered toolchain executables. Since it is not likely that we will debug the toolchain executables itself we do not need the debug information inside the executables itself. Signed-off-by: Remy Bohmer <linux@bohmer.net>
* config: hide paths when used as a backendYann E. MORIN"2010-03-291-6/+7
| | | | | | When crosstool-NG is used as a backend, it is the responsibility of the upper-layer build-system to properly set paths, so we just hide the prompts in this case.
* config: move the patch choice to the extract sectionYann E. MORIN"2009-08-311-80/+0
| | | | | Choosing the origin of the patches to apply is best done in the 'extract' section.
* config: add fallback to patch orderYann E. MORIN"2009-08-311-0/+22
| | | | | Add the possibility to fallback to either bundled or local patches if local or bundled are missing.
* config: add the local,bundled patch orderYann E. MORIN"2009-08-311-0/+9
| | | | This ordering first applies the local patches, then the bundeld ones.
* config: make selecting the patch origin a choice rather than a boolYann E. MORIN"2009-08-311-20/+38
|
* Change some config items' default values.Yann E. MORIN"2008-08-011-2/+2
| | | | | | /trunk/config/global/paths.in | 4 2 2 0 ++-- /trunk/config/global/logging.in | 2 1 1 0 +- 2 files changed, 3 insertions(+), 3 deletions(-)
* Change default path where toolchain will run from to ↵Yann E. MORIN"2008-06-251-1/+1
| | | | | | | "${HOME}/x-tools/${CT_TARGET}". /trunk/config/global/paths.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Allow to store working files outside the build tree (eg. incase the working ↵Yann E. MORIN"2008-06-241-1/+22
| | | | | | | | tree is on the network). /trunk/scripts/crosstool.sh | 9 5 4 0 +++++---- /trunk/config/global/paths.in | 23 22 1 0 ++++++++++++++++++++++- 2 files changed, 27 insertions(+), 5 deletions(-)
* Move config files around, and clean up the mess in the config/ directory.Yann E. MORIN"2008-04-171-0/+89
config/kernel/kernel_linux.in | 12 6 6 0 +- config/paths.in | 89 0 89 0 ---------------- config/kernel_linux_headers_install.in | 168 0 168 0 ------------------------------ config/kernel.in | 2 1 1 0 config/kernel_linux_headers_copy.in | 42 0 42 0 -------- config/cc.in | 2 1 1 0 config/logging.in | 110 0 110 0 -------------------- config/build-behave.in | 45 0 45 0 -------- config/libc_uClibc.in | 101 0 101 0 ------------------ config/kernel_linux_headers_sanitised.in | 62 0 62 0 ----------- config/ct-behave.in | 82 0 82 0 --------------- config/kernel_linux.in | 134 0 134 0 ------------------------ config/global.in | 10 5 5 0 +- config/download_extract.in | 171 0 171 0 ------------------------------- config/cc_gcc.in | 130 0 130 0 ------------------------ config/libc_glibc.in | 124 0 124 0 ---------------------- config/libc.in | 4 2 2 0 17 files changed, 15 insertions(+), 1273 deletions(-)