aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #313 from bhundven/remove_gcc_extra_env_arrayBryan Hundven2016-01-062-18/+3
|\ | | | | gcc: remove CC_GCC_EXTRA_ENV_ARRAY
| * gcc: remove CC_GCC_EXTRA_ENV_ARRAYBryan Hundven2016-01-062-18/+3
|/ | | | | | | | | | I was noticing that $extra_user_env was inconsistently used in 100-gcc.sh. I don't feel comfortable having just any make flag or environment variable passed to make from a config file. If a specific option needs to be passed to make for gcc, then a specific kconfig option should be added for that make flag/option/env. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #312 from bhundven/sync_gcc_backendsBryan Hundven2016-01-061-36/+35
|\ | | | | gcc: Sync backend functions
| * gcc: Sync backend functionsBryan Hundven2016-01-061-36/+35
| | | | | | | | | | | | | | | | | | | | The two gcc backend functions are getting very close to being duplicated code. To help in the process of merging the two backends, this change syncronizes the two functions so they are easier to diff. This commit has no functional changes. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #296 from FreddieChopin/add-gmp-6.1.0Bryan Hundven2016-01-061-0/+6
|\ \ | |/ |/| gmp: add version 6.1.0
| * gmp: add version 6.1.0Freddie Chopin2015-12-071-0/+6
| | | | | | | | Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
* | Merge pull request #309 from bhundven/remove_old_binutils_versionsBryan Hundven2016-01-0596-3371/+6660
|\ \ | | | | | | Remove old binutils versions
| * | patches/binutils: Sync patches with buildrootBryan Hundven2016-01-0333-0/+6722
| | | | | | | | | | | | | | | | | | | | | | | | The buildroot patches have xtensa for the supported versions of binutils we use, and a few others that might help us keep away from host polution. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | patches/binutils: Remove old patches for binutilsBryan Hundven2016-01-0365-3365/+0
| | | | | | | | | | | | | | | | | | Since we removed older binutils versions, remove patches as well. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | binutils: Remove older versions of binutilsBryan Hundven2016-01-032-85/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <bryanhundven@gmail.com>
* | | Merge pull request #291 from diorcety-ctng/cygwin-more-fixesBryan Hundven2016-01-035-9/+203
|\ \ \ | | | | | | | | Cygwin more fixes
| * | | libelf: Cygwin fix for UNC pathsRay Donnelly2016-01-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If destdir was / and prefix began with / then we would attempt to install libelf to a path beginning with // which is a UNC path on Cygwin. This is generally incorrect. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * | | libiconv: configure with --disable-nlsRay Donnelly2016-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows a build failure can be triggered during the build of the static iconv if a dynamic iconv is already present: There's a circular dependency between libiconv and gettext which (on a system with a dynamic gettext (and thus iconv) installed in the system prefix) causes a failure to build iconv.exe statically if it is built with nls .. .. Which needs gettext .. which depends on libiconv .. so libtool finds a dynamically linked libgettext.la .. and therefore presents ld with the dll import library libiconv.dll.a when linking iconv.exe .. as well as the static libiconv.a that it has just built! .. leading to multiply defined symbols from iconv. Therefore, we build it without nls. If it later turns out that we need it to be built with nls, then I will have to build it in two passes (common practice when bootstrapping GNU/Linux distros, MSYS2 and probably Cygwin and Homebrew). Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * | | POSIX: Fix GCC 5+ plugin build failure on CygwinRay Donnelly2016-01-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cygwin follows POSIX IEEE Std 1003.1, 2004 Edition spec for the select() fuction as described at: http://pubs.opengroup.org/onlinepubs/009695399/functions/pselect.html .. so we must #include <sys/select.h> for the declaration. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * | | Cygwin + MinGW-w64: GCC 5+ plugin supportRay Donnelly2016-01-031-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define PICFLAG, UNDEFINEDPREAMBLE and UNDEFINEDCODE to nothing since Windows doesn't have -fPIC (GCC warns) and can't handle undefined variable references (which are not needed anyway). Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * | | expat: Tidy up and correct configure flagsRay Donnelly2016-01-031-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build shared builds for host unless CT_STATIC_TOOLCHAIN. In all other situations, build statically, as before. It is necessary that the static/shared-ness of expat matches that of gettext on Cygwin/MinGW-w64 as they can't be linked together if they don't match, so we follow the same logic. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
* | | | Merge pull request #308 from bhundven/update_kernelBryan Hundven2016-01-021-18/+18
|\| | | | | | | | | | | linux: Update kernel versions
| * | | linux: Update kernel versionsBryan Hundven2016-01-021-18/+18
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following versions were updated: * 4.3 -> 4.3.3 (stable) * 4.2.6 -> 4.2.8 (EOL) * 4.1.13 -> 4.1.15 * 3.18.24 -> 3.18.25 * 3.14.57 -> 3.14.58 * 3.12.50 -> 3.12.51 * 3.10.93 -> 3.10.94 * 3.2.72 -> 3.2.75 * 2.6.32.68 -> 2.6.32.69 4.3 mainline is now 4.3.3 stable The 4.2 series is now EOL. You should move to 4.3.3! Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | | Merge pull request #307 from bhundven/update_gcc_linaroBryan Hundven2016-01-022-3/+11
|\ \ \ | |/ / |/| | Update gcc linaro
| * | gcc: Add new linaro version: 5.2-2015.11Bryan Hundven2016-01-021-0/+7
| | | | | | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | gcc: Add new linaro download pathBryan Hundven2016-01-021-3/+4
|/ / | | | | | | | | | | It seems that linaro is changing where they release, again. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #306 from bhundven/update_gccBryan Hundven2016-01-0225-17/+32
|\ \ | | | | | | gcc: Update gcc 5 to 5.3.0
| * | gcc: Update gcc 5 to 5.3.0Bryan Hundven2016-01-0225-17/+32
|/ / | | | | | | | | Reported-by: Freddie Chopin <freddie.chopin@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #305 from bhundven/binutils_fix_install_libibertyBryan Hundven2016-01-021-0/+4
|\ \ | | | | | | binutils: Fix installing libiberty for target
| * | binutils: Fix installing libiberty for targetBryan Hundven2016-01-021-0/+4
|/ / | | | | | | | | | | | | | | | | | | If CT_BINUTILS_FOR_TARGET_IBERTY is set, then it seems that we also must set `--enable-install-libiberty` for configure to pickup that it needs to be installed. This closes #302 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #303 from nekromant/masterBryan Hundven2015-12-278-0/+120
|\ \ | | | | | | Add initial debian packaging info
| * | Add initial debian packaging infoAndrew Andrianov2015-12-188-0/+120
|/ / | | | | | | Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
* | Merge pull request #288 from bhundven/custom_locations_rewriteBryan Hundven2015-12-1833-561/+618
|\ \ | | | | | | Custom locations rewrite
| * | Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven2015-12-0811-160/+162
| | | | | | | | | | | | | | | | | | | | | We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | config: Update kconfig for new CT_GetCustomBryan Hundven2015-12-0810-166/+375
| | | | | | | | | | | | | | | | | | | | | This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | scripts: Update usage of CT_GetCustomBryan Hundven2015-12-089-89/+29
| | | | | | | | | | | | | | | | | | | | | This commit updates the build scripts to match the new usage of CT_GetCustom from the previous change. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | CT_GetCustom: Rewrite function to meet expectationsBryan Hundven2015-12-081-26/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous version of CT_GetCustom was a bit... funky. It didn't handle custom versions to location very well. This new version is exactly as it appears: CT_GetCustom <name> <version> <location> The name is the beginning of the archive (file or directory). The version is the second half of the archive. The location is where it can be found. This should be made an absolute path, but this version is expecting the path in kconfig to be absolute. A file should extract to a directory: <name>-<version> A directory will be copied to: <name>-<version> This keeps our expectations of what we should get. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
| * | Linux: Remove obsolete Linux custom headersBryan Hundven2015-12-084-102/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option allowed you to use a custom headers directory/tarball to use in your sysroot. Not to be confused with using a custom source, that option is the preferred method. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
| * | 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>
| * | xtensa: Remove support for CT_CUSTOM_LOCATION_ROOT_DIRBryan Hundven2015-12-082-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since CUSTOM_LOCATION_ROOT_DIR was removed from config/global/paths.in in commit c499ccb, xtensa should depend only on it's ARCH_XTENSA_CUSTOM_OVERLAY_LOCATION. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
| * | CT_Extract: Move check extracted upBryan Hundven2015-12-081-6/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | | | If we are using a custom location, and that custom location is a directory that does not have an associated tarball, then we shouldn't warn about not finding a tarball in CT_TARBALLS_DIR if CT_SRC_DIR/.<basename>.extracted is found. If the extracted file is not found, then we can warn that the tarball was not found then error out that the tarball is missing. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* | Merge pull request #282 from bhundven/less_gcc_versions_part2Bryan Hundven2015-12-07127-8241/+66
|\ \ | | | | | | Less gcc versions part2
| * | gcc: Gnu OpenMP support depends on threadingBryan Hundven2015-11-292-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Instead of checking if thread support is enabled during the build, move the check to kconfig-time. Since if threading support is not availble, libgomp should not be available either. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | gcc: CLooG should be optional for configureBryan Hundven2015-11-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Because >= gcc-5.x does not require cloog, it should not be forced on the command line arguments for configure if graphite is enabled. Make CLooG optionally added, if it is needed (aka: <= gcc-4.9). Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | PPL: Remove support for PPL and CLooG/PPLBryan Hundven2015-11-2932-1093/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/addToolVersion.sh and scripts/showSamples.sh * Adds ISL to scripts/addToolVersion.sh and scripts/showSamples.sh I know that sounds like a lot for one commit, but it was all kind of inter-tangled. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | gcc: remove patches for removed gcc versionsBryan Hundven2015-11-2993-6970/+0
| | | | | | | | | | | | | | | | | | | | | This commit simply removes the patches for gcc versions that are no longer supported. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
| * | gcc: Remove gcc <= 4.7.xBryan Hundven2015-11-295-176/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #299 from bhundven/fix_static_binutilsBryan Hundven2015-12-071-1/+1
|\ \ \ | |_|/ |/| | binutils: Fix LDFLAGS for static toolchain
| * | binutils: Fix LDFLAGS for static toolchainBryan Hundven2015-12-071-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | If building a static toolchain, the ldflags option passed to do_binutils_backend is overridden when we set `LDFLAGS=-all-static`. We should pass `LDFLAGS=${ldflags} -all-static` in this case. This fixes #297 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #292 from bhundven/fix_binutils_manualBryan Hundven2015-12-051-2/+2
|\ \ | |/ |/| binutils: Fix binutils manuals_install variable
| * binutils: Fix binutils manuals_install variableBryan Hundven2015-12-051-2/+2
|/ | | | | | | | | In commit: 74d555b2 A regex in a parameter subsitution replaces a '#' hash symbol, but it is not made literal '\#', so from the hash to the end of the line is a comment. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #289 from bhundven/binutils_patchBryan Hundven2015-11-261-0/+26
|\ | | | | binutils: add patch that fixes mac os x gold build
| * binutils: add patch that fixes mac os x gold buildBryan Hundven2015-11-261-0/+26
|/ | | | | | https://sourceware.org/bugzilla/show_bug.cgi?id=19281 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #287 from bhundven/binutils_gdb_configureBryan Hundven2015-11-242-0/+19
|\ | | | | binutils/gdb: Fix configure options when building from binutils-gdb repo
| * binutils/gdb: Fix configure options when building from binutils-gdb repoBryan Hundven2015-11-242-0/+19
|/ | | | | | | | | | | | When building from: {git,http}://sourceware.org/git/binutils-gdb.git and setting BINUTILS_CUSTOM or GDB_CUSTOM, they could be the same source. These config options should not affect normal released versions. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>