path: root/scripts/
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27Revert "Determine whether -E/-r option selects extended regexp"Alexey Neyman1-1/+1
This reverts commit 7bcf18bfab84374d3305c7a088f95ac1219ddf93.
2017-02-27Revert "Fix breakage from sed_r change in some auxiliary scripts"Alexey Neyman1-1/+1
This reverts commit 5ea3f2967f105713ec0c707b4f3da9519912f9d0.
2017-02-16Fix breakage from sed_r change in some auxiliary scriptsAlexey Neyman1-1/+1
... do not overquote the variables from Signed-off-by: Alexey Neyman <>
2017-02-14Determine whether -E/-r option selects extended regexpAlexey Neyman1-1/+1
... and then use the right option. See the note in scripts/functions on where we should use ${foo} and where just 'foo'; this boils down to whether we can expect the build tools override to be in effect (e.g. in the actual build scripts) or not (i.e. outside of scripts/build). While running in scripts/functions, or in scripts/ the build tools override directory (.build/tools/bin) may have not been set up (yet, or at all). Also, modify the installed scripts (populate, xldd) accordingly. Signed-off-by: Alexey Neyman <>
2017-02-05Add zlib as a companion libAlexey Neyman1-1/+2
with version 1.2.11. Signed-off-by: Alexey Neyman <>
2017-01-26Support gettext in addToolVersion.shAlexey Neyman1-1/+2
Signed-off-by: Alexey Neyman <>
2017-01-16Merge pull request #536 from stilor/musl-updateAlexey Neyman1-2/+3
Musl update to 1.1.16 support muslAlexey Neyman1-2/+3
Signed-off-by: Alexey Neyman <> Fix gdb version handling.Alexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <>
2017-01-06Bump binutils to 2.27Alastair D'Silva1-1/+3
Signed-off-by: Alastair D'Silva <>
2016-12-17Kill dmalloc.Alexey Neyman1-2/+1
- No new releases in almost 10 year. - No public bug tracker or VCS. - No responses from maintainer over sent patches. RIP, dmalloc. Signed-off-by: Alexey Neyman <>
2016-11-22Give companion tools some love.Alexey Neyman1-21/+36
Allow selection of make/m4/... version. Support imports of new versions via Import newest versions of the companion tools. One non-trivial change is the handling of make versions. Existing code was not handling make companion tool as described (see the previous commit). However, since most modern systems have make 4.x, that previous commit made crosstool-ng always build make as a companion tool. This traces back to the commit dd15c93 from 2014. That commit's log message says that actually it was 3.81 which broke the build for certain component (it was originally breaking eglibc, but I noticed it was breaking current glibc on powerpc64), and introduced an option to force using 3.81 by "components that really need it". It looks like in 2.5 years we haven't seen any such components that really need make 3.81, and (given that make has already had a few releases since 3.81) we're unlikely to see them in the future. Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer". In its current form, configure will accept make 3.80+, and will not require make as a companion tool for 3.81+. We might want to bump the latter check to even newer version given the claim from dd15c93. Killed COMP_TOOLS_make_3_81_NEEDED. Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65 and automake 1.11.1. Signed-off-by: Alexey Neyman <>
2016-10-05Add uClibc-ng 1.0.17.Alexey Neyman1-1/+2
Also, support uClibc-ng in Signed-off-by: Alexey Neyman <>
2016-05-12addToolVersion: Fix syntax issuesBryan Hundven1-4/+4
This issue was reported on github: by: alonbg This is the same change in the zipfile, with minor changes. (whitespace) This closes #378 Signed-off-by: Bryan Hundven <>
2016-02-05binutils: Add binutils-2.26Bryan Hundven1-0/+2
Signed-off-by: Bryan Hundven <>
2016-01-03binutils: Remove older versions of binutilsBryan Hundven1-11/+11
Since older GCC versions have been removed, older versions of binutils are not needed. This commit removes these older versions. Signed-off-by: Bryan Hundven <>
2015-12-08Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven1-32/+32
We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <>
2015-11-30PPL: Remove support for PPL and CLooG/PPLBryan Hundven1-2/+2
Now that versions of gcc that required PPL are no longer supported ( >= gcc-4.5.x AND <= gcc-4.7.x ) ...we no longer require PPL or CLooG/PPL. This commit: * Removes PPL * Removes CLooG/PPL * Updates the documentation * Updates build script for CLooG and GCC * Removes PPL and CLooG/PPL from scripts/ and scripts/ * Adds ISL to scripts/ and scripts/ I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <>
2015-11-13Change ncurses to a companion library.Alexey Neyman1-1/+2
Currently, builds for build and target (matching the current implementation). Need to add building for host for canadian crosses. TIC_PATH is removed - configure in ncurses searches $PATH, so it finds 'tic' in buildtools anyway. Arguably unneeded code for MacOS also removed, with a FIXME comment for validation by someone using MacOS. Signed-off-by: Alexey Neyman <>
2015-11-13Convert expat for target into a companion lib.Alexey Neyman1-1/+2
Expat-for-host to be done. Signed-off-by: Alexey Neyman <>
2015-11-11uClibc: Reduce supported versionsBryan Hundven1-6/+3
This commit reduces the number of supported versions to: * * custom location Signed-off-by: Bryan Hundven <>
2015-11-11Support mingw-w64 in Neyman1-1/+3
... and add 4.0.4 release. Signed-off-by: Alexey Neyman <>
2015-06-02addToolVersion: multi_cc: update addToolVersionBryan Hundven1-1/+1
Since gcc moved from CC_ to CC_GCC_, addToolVersion neeeded to be updated. Signed-off-by: Bryan Hundven <>
2015-05-10scripts: If is included, use the variablesBryan Hundven1-2/+2
This commit changes sed, awk, and grep to use the ones we found during configure time. This helps make the build more consistent. Signed-off-by: Bryan Hundven <>
2015-01-28eglibc: Remove eglibc supportBryan Hundven1-10/+1
As posted on ==================== EGLIBC is no longer developed and such goals are now being addressed directly in GLIBC. ==================== I'm not interested in maintaining build support for unsupported software. Older branches of crosstool-ng continue to have eglibc support. If you find issues with older branches, I'm always open to pull requests. Removing eglibc also frees up glibc cleanup and build optimization. Signed-off-by: Bryan Hundven <>
2014-07-19scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later)Cody P Schafer1-14/+2
Signed-off-by: Cody P Schafer <>
2014-07-19scripts/addToolVersion: fix for gdb versions >= 7.2Cody P Schafer1-1/+5
Signed-off-by: Cody P Schafer <>
2014-05-11binutils/elf2flt: use alternate mirrorYann E. MORIN"1-1/+0
The official elf2flt upstream has disapeared. Switch to a mirror. Signed-off-by: "Yann E. MORIN" <>
2013-05-03scripts: handle gcc 4.7 and 4.8 in addToolsVersion.shYann E. MORIN"1-1/+5
Signed-off-by: "Yann E. MORIN" <>
2012-12-27scripts/addToolsVersion: handle elf2fltYann E. MORIN"1-0/+1
The one was missing from the list. It is very improbable that we ever need it, as elf2flt does no release, and we always get it from CVS head. But for the sake of consistency, we just add it. Signed-off-by: "Yann E. MORIN" <>
2012-12-27scripts/addToolsVersion: properly handle .in vs. .in.2Yann E. MORIN"1-22/+19
While most components have their version in the .in file, some have it in the .in.2 (eg. elf2flt). Currently, to handle this case, we indiscriminately munge both files, but this is wrong: in the elf2flt case, if we add a binutils version, we do not want it to be added to elf2flt, and conversely. So, for each tool, we need to explicitly know what file to munge. Signed-off-by: "Yann E. MORIN" <>
2012-12-26script/addToolsVersion: fix eglibc version separatorYann E. MORIN"1-2/+2
eglibc uses '_', not '.' to separate major/minor. Signed-off-by: "Yann E. MORIN" <>
2012-12-26libc/eglibc: remove now superfluous config knobsYann E. MORIN"1-10/+2
All eglibc versions we now have support pkgversion and bugurl. Signed-off-by: "Yann E. MORIN" <>
2012-01-16scripts: fix tools overrideYann E. MORIN"1-2/+2
The tools found by the new autostuff configure can contain arguments, for example: grep -E This needs separating the paths set for the Makfile from the paths set for the scripts. Signed-off-by: "Yann E. MORIN" <>
2011-11-28binutils/binutils: add binutils 2.22Titus von Boxberg"1-1/+3
Enable (EXPERIMENTAL) selection of binutils 2.22 Signed-off-by: "Titus von Boxberg" <>
2011-09-12libc/uClibc: enable NPTL choice for uClibc >= 0.9.32Yann E. MORIN"1-3/+4
Signed-off-by: "Yann E. MORIN" <>
2011-05-31eglibc: use the PKGVERSION and BUGURL optionsBenoît THÉBAUDEAU"1-0/+16
This patch makes eglibc benefit from the TOOLCHAIN_PKGVERSION and TOOLCHAIN_BUGURL options. Signed-off-by: "Benoît THÉBAUDEAU" <>
2011-05-31binutils: use the PKGVERSION and BUGURL optionsBenoît THÉBAUDEAU"1-0/+14
This patch makes binutils benefit from the TOOLCHAIN_PKGVERSION and TOOLCHAIN_BUGURL options. Signed-off-by: "Benoît THÉBAUDEAU" <>
2011-05-31scripts/ add a function to extract fields from versionsBenoît THÉBAUDEAU"1-6/+15
This patch adds a function to extract major, minor, revision, etc. from version numbers. Signed-off-by: "Benoît THÉBAUDEAU" <>
2011-05-08scripts/addToolVersion: fix gcc complibs dependencyYann E. MORIN"1-9/+10
Since the gcc configuration changes, the way to select the dependent companion libraries has changed. Update the addToolVersion script to match. Reported-by: Xun Li <> Signed-off-by: "Yann E. MORIN" <>
2011-04-27scripts/addToolsVersion: versions can be either in the .in or the .in.2Yann E. MORIN"1-5/+12
The components have their version selection handled either in the .in file or the .in.2 file. Handle both cases. Also, when dumping an existing version, keep the user's grep options (ie. do override neither options nor colors). Signed-off-by: "Yann E. MORIN" <>
2010-04-15cc/gcc: add support for 4.5.0 or later versionsYann E. MORIN"1-1/+4
starting with 4.5.0, gcc requires libelf.
2010-03-29scripts/addToolsVersion: fix handling libelfYann E. MORIN"1-1/+1
libelf has moved to the companion libraries section, and is no longer in the tools section.
2010-03-20debug/gdb: add handling of 7_0_or_laterYann E. MORIN"1-0/+7
We'll need to differentiate gdb 7.0 or later, from gdb prior to 7.0
2010-02-04cc/gcc: simplify the _or_later stuffYann E. MORIN"1-4/+3
2010-01-14scripts/addToolVersion: add uClibc hooksYann E. MORIN"1-1/+12
2010-01-10scripts/addToolsVersion: add support for newlibYann E. MORIN"1-2/+3
2010-01-10scripts/addToolVersion: cleanupsYann E. MORIN"1-48/+47
2010-01-10scripts/addToolVersion: correctly handle the libc categoriesYann E. MORIN"1-4/+4
2010-01-06scripts/addToolsVersion: add support for MPCYann E. MORIN"1-1/+2