aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of config.genAlexey Neyman2017-04-2211-115/+50
| | | | | | | | | Instead, prepare the files as a part of bootstrap and install them. This avoids rebuilding these files in each working directory; they don't change anyway as they are generated from the same installed source. Signed-off-by: Alexey Neyman <stilor@att.net>
* Generate config/configure.in directlyAlexey Neyman2017-04-223-26/+51
| | | | | | | | from configure rather than substitute it from Makefile. Eventually we might want to get rid of configure.in completely, doing on-the-fly checks at the time of `ct-ng build`, but that is left for another day. Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow 'make V=1' to see the commands.Alexey Neyman2017-04-222-96/+76
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #690 from stilor/fix-empty-symlinksAlexey Neyman2017-04-131-1/+1
|\ | | | | Avoid creating symlinks with empty prefix
| * Avoid creating symlinks with empty prefixAlexey Neyman2017-04-131-1/+1
| | | | | | | | | | | | (regression after Cygwin fix) Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #689 from stilor/add-mdsAlexey Neyman2017-04-134-23/+113
|\ \ | |/ |/| Doc renames & issue template
| * Doc renames & issue templateAlexey Neyman2017-04-134-23/+113
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #685 from stilor/newlib-fixAlexey Neyman2017-04-1135-23/+832
|\ | | | | Sort out newlib patches
| * Sort out newlib patchesAlexey Neyman2017-04-1135-23/+832
|/ | | | | | | | | | | | - Existing 110-fix-eabihf.patch did not apply to 1.20.0 and earlier - This patch is also applicable to 2.x versions - The patch needs to be applied to both configure.in/configure - Existing 200-optimising-for-space.patch also applies to all versions before 2.4.0 - Similar issues exist in other config/mt-* files - m68k patch is applicable to 2.* versions Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #683 from stilor/readme-fix-2Alexey Neyman2017-04-101-6/+1
|\ | | | | Minor fixes in README.md
| * Minor fixes in README.mdAlexey Neyman2017-04-101-6/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #682 from stilor/readme-fixAlexey Neyman2017-04-102-0/+9
|\ | | | | Make guidelines for bug reporting more explicit
| * Make guidelines for bug reporting more explicitAlexey Neyman2017-04-102-0/+9
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #678 from stilor/fix-secure-apiAlexey Neyman2017-04-071-4/+3
|\ | | | | Fix MINGW_SECURE_API test
| * Fix MINGW_SECURE_API testAlexey Neyman2017-04-071-4/+3
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #676 from tamird/mingw-secure-apiAlexey Neyman2017-04-072-0/+9
|\ | | | | MinGW: add --enable-secure-api config option
| * MinGW: add --enable-secure-api config optionTamir Duberstein2017-04-062-0/+9
| | | | | | | | | | | | | | Without this flag, MinGW does not expose secure variants of functions such as strcpy_s. See https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/crt/sec_api/string_s.h#l11.
* | Merge pull request #677 from stilor/mingwAlexey Neyman2017-04-072-1/+2
|\ \ | |/ |/| Mingw minor fixes
| * libc/mingw: quote variable in comparisonTamir Duberstein2017-04-061-1/+1
| | | | | | | | | | | | Building with CT_MINGW_TOOLS unset before this change produces: /usr/local/ct-ng/lib/crosstool-ng-1.23.0-rc2/scripts/build/libc/mingw.sh: line 212: [: =: unary operator expected
| * mingw: Make list of tools depend on tools being enabledAlexey Neyman2017-04-061-0/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #672 from stilor/freebsd-fixesAlexey Neyman2017-04-035-27/+45
|\ | | | | Freebsd fixes
| * CC_FOR_BUILD in gdb.shAlexey Neyman2017-04-021-0/+6
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Pass HOSTCC to uclibc's makeAlexey Neyman2017-04-021-0/+1
| | | | | | | | | | | | Else it looks for 'gcc'. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Pass CC_FOR_BUILD to binutilsAlexey Neyman2017-04-021-0/+2
| | | | | | | | | | | | Otherwise, it fails if 'gcc' is not available. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Handle Python with non-default namesAlexey Neyman2017-04-012-2/+31
| | | | | | | | | | | | | | | | Check for python2/python3 and if found, pass them to --with-python. Allow user to override the choice via a new config option. This fixes systems where there is no "python", only "python2" or "python3". Signed-off-by: Alexey Neyman <stilor@att.net>
| * Always build ncurses-for-buildAlexey Neyman2017-04-011-25/+5
|/ | | | | | | | If the build machine lacks tic, we need to build it in the first pass even if host==build: ncurses Makefiles are not smart enough to build 'tic' first and use the just-built tic to compile fallback terminfo. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #671 from stilor/updatesAlexey Neyman2017-04-012-16/+16
|\ | | | | Kernel/newlib version bump
| * Update newlib versionAlexey Neyman2017-04-011-2/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update kernel versionsAlexey Neyman2017-04-011-14/+14
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #670 from stilor/cygwin-symlinkAlexey Neyman2017-04-012-21/+11
|\ \ | |/ |/| Fix symlinking to multiarch tools on Cygwin
| * Fix symlinking to multiarch tools on CygwinAlexey Neyman2017-04-012-21/+11
|/ | | | | | | | | | | | On cygwin, creating both "foo.exe" and "foo" results in 'ln -sf' returning an error ("File exists"). However, ln silently removes the "foo.exe" in this case, so an attempt to re-run the same command manually then succeeds. Hence, make binutils.sh also create symlinks with .exe prefix, using the new & shiny routine. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #669 from stilor/mingw-pthread-multilibAlexey Neyman2017-03-314-61/+112
|\ | | | | MinGW-W64 fixes
| * MinGW-W64 fixesAlexey Neyman2017-03-304-61/+112
|/ | | | | | | | | | | | | | | | | | | | | | | - libpthread requires iteration over multilibs, unlike the core, it does not detect and build multilibs by itself. - Disable parallel builds for mingw-w64 components; until mingw-w64 core builds clean, I am not trusting it. - Make the list of tools to build configurable - Turn on multilib in x86_64 sample. - Make warnings about tuple less redundant. As in, "one WARN is enough, no need to shout it three times". - Messages about various steps/substeps are more aligned with the rest of the components. - Use 'make' instead of ${make} to invoke the companion make just built, if applicable. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #667 from stilor/cross-gdb-depsAlexey Neyman2017-03-294-12/+17
|\ | | | | cross-gdb: account for canadian/crossnative toolchains
| * cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman2017-03-294-12/+17
| | | | | | | | | | | | | | | | | | | | ... when determining if it can be linked statically, and if Python scripting should default to y. Prompted by a failure of i686-w64-mingw32,nios2-spico-elf sample on a system where configure didn't report static linking support. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #666 from stilor/symlinks-gcc-libsAlexey Neyman2017-03-291-0/+3
|\ \ | |/ |/| Add symlinks from the libraries' original location to the new one.
| * Add symlinks from the libraries' original location to the new one.Alexey Neyman2017-03-291-0/+3
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #665 from stilor/optional-pass-1Alexey Neyman2017-03-291-1/+0
|\ | | | | Remove explicit core passes selection for multilib
| * Remove explicit core passes selection for multilibAlexey Neyman2017-03-281-1/+0
|/ | | | | | | | It is only used if this libc flavor uses a multilib iterator (and not determines the multilibs itself). This class currently includes glibc, uClibc, musl - but they explicitly select CC_CORE_PASSES_NEEDED anyway. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #662 from stilor/sh-multilibAlexey Neyman2017-03-276-55/+36
|\ | | | | Fix up the sysroot issue for sh4 in a different way
| * Fix up the sysroot issue for sh4 in a different wayAlexey Neyman2017-03-266-55/+36
|/ | | | | | | | | | | (see the comments in the code for details on the issue) Old workaround in 100-gcc.sh stopped working (probably, due to one of GCC version upgrades), so switch to the other approach originally described there: adjust the list of multilibs to not include the default target explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #660 from stilor/create-release-no-subdirAlexey Neyman2017-03-241-2/+2
|\ | | | | Go into subdirectory when checksumming/signing
| * Go into subdirectory when checksumming/signingAlexey Neyman2017-03-231-2/+2
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #659 from stilor/no-root-no-linksAlexey Neyman2017-03-231-1/+1
|\ | | | | Do not create multilib symlinks if not using sysroot
| * Do not create multilib symlinks if not using sysrootAlexey Neyman2017-03-231-1/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #658 from stilor/masterAlexey Neyman2017-03-221-1/+1
|\ | | | | Fix unclosed string
| * Fix unclosed stringAlexey Neyman2017-03-221-1/+1
|/ | | | | | ... that resulted in a warning from kconfig Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #657 from stilor/no-ldsoconfAlexey Neyman2017-03-222-2/+22
|\ | | | | Make creation of ld.so.conf optional
| * Make creation of ld.so.conf optionalAlexey Neyman2017-03-222-2/+22
|/ | | | | | | | | | | | | | | | ... enabled by default for multilib and disabled otherwise. Buildroot has been complaining about /etc/ld.so.conf presence for almost a year now and I missed that. After the release, xldd will be modified to query the compiler for the list of multilibs to search. This would be too invasive change before 1.23, though. Note that it may lead to configurations where xldd currently does not find the libraries (if both DEMULTILIB and CREATE_LDSO_CONF are turned off). This is not the default setting in Kconfig, though. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #655 from stilor/release-add-signingAlexey Neyman2017-03-211-1/+4
|\ | | | | Add tarball signing to release script