summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-08Whitespace: We don't use tabs in shell or kconfig filesBryan Hundven11-160/+162
We indent by multiples of 4. This change cleans up whitespace in offending files. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-12-08config: Update kconfig for new CT_GetCustomBryan Hundven10-166/+375
This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-12-08scripts: Update usage of CT_GetCustomBryan Hundven9-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>
2015-12-08CT_GetCustom: Rewrite function to meet expectationsBryan Hundven1-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>
2015-12-08Linux: Remove obsolete Linux custom headersBryan Hundven4-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>
2015-12-08config: Remove CUSTOM_LOCATION_ROOT_DIRBryan Hundven1-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>
2015-12-08xtensa: Remove support for CT_CUSTOM_LOCATION_ROOT_DIRBryan Hundven2-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>
2015-12-08CT_Extract: Move check extracted upBryan Hundven1-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>
2015-12-08Merge pull request #282 from bhundven/less_gcc_versions_part2Bryan Hundven127-8241/+66
Less gcc versions part2
2015-12-07Merge pull request #299 from bhundven/fix_static_binutilsBryan Hundven1-1/+1
binutils: Fix LDFLAGS for static toolchain
2015-12-07binutils: Fix LDFLAGS for static toolchainBryan Hundven1-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>
2015-12-05Merge pull request #292 from bhundven/fix_binutils_manualBryan Hundven1-2/+2
binutils: Fix binutils manuals_install variable
2015-12-05binutils: Fix binutils manuals_install variableBryan Hundven1-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>
2015-11-30gcc: Gnu OpenMP support depends on threadingBryan Hundven2-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>
2015-11-30gcc: CLooG should be optional for configureBryan Hundven1-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>
2015-11-30PPL: Remove support for PPL and CLooG/PPLBryan Hundven32-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>
2015-11-30gcc: remove patches for removed gcc versionsBryan Hundven93-6970/+0
This commit simply removes the patches for gcc versions that are no longer supported. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-30gcc: Remove gcc <= 4.7.xBryan Hundven5-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>
2015-11-26Merge pull request #289 from bhundven/binutils_patchBryan Hundven1-0/+26
binutils: add patch that fixes mac os x gold build
2015-11-26binutils: add patch that fixes mac os x gold buildBryan Hundven1-0/+26
https://sourceware.org/bugzilla/show_bug.cgi?id=19281 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-25Merge pull request #287 from bhundven/binutils_gdb_configureBryan Hundven2-0/+19
binutils/gdb: Fix configure options when building from binutils-gdb repo
2015-11-25binutils/gdb: Fix configure options when building from binutils-gdb repoBryan Hundven2-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>
2015-11-23Merge pull request #286 from bhundven/uclibc_ipv6Bryan Hundven2-0/+13
uClibc: Add kconfig option to enable IPv6 support
2015-11-23uClibc: Add kconfig option to enable IPv6 supportBryan Hundven2-0/+13
This commit adds a kconfig option to enable IPv6 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-23Merge pull request #283 from diorcety-ctng/osx-build-2Bryan Hundven5-0/+189
Fixes binutils and gold (raspi2 sample builds ok if you disable the static toolchain options)
2015-11-22Clang: Use {C,CXX}FLAG -fbracket-depth=512 for GCC buildRay Donnelly1-0/+13
https://llvm.org/bugs/show_bug.cgi?id=19650 https://gcc.gnu.org/ml/gcc/2014-05/msg00014.html Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-11-22darwin-host: Three build fixes for binutils 2.25{,.1}Ray Donnelly4-0/+176
1. Need to include <string> not <cstring> in gold's binary.cc 2. wcsncasecmp isn't always defined in Mac SDK 3. PTHREAD_ONCE_INIT is {0x30B1BCBA, {0}}, so can't be trivially assigned in an intializer list. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-11-21Merge pull request #281 from bhundven/remove_sh64Bryan Hundven1-1/+0
uClibc: remove references to sh64*
2015-11-21uClibc: remove references to sh64*Bryan Hundven1-1/+0
As per the change notes of GCC-6: https://gcc.gnu.org/gcc-6/changes.html and conversations I've had with the buildroot folks, there is no need to support sh5/sh64. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-19Merge pull request #279 from bhundven/mingw-w64-experimentalcrosstool-ng-1.22.0Bryan Hundven3-0/+3
mingw-w64: Set it as experimental
2015-11-19mingw-w64: Set it as experimentalBryan Hundven3-0/+3
With the upcoming release of 1.22.0, mingw-w64 is still in an experimental state, and is not considered to be fully supported yet. This change should be reverted after the release. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-19Merge pull request #278 from bhundven/fix-uninstallBryan Hundven1-1/+1
Makefile.in: Fix uninstall target
2015-11-19Makefile.in: Fix uninstall targetBryan Hundven1-1/+1
`make uninstall` is ran against `$(TARGETS)`, which includes `lib-kconfig`. `lib-kconfig` is installed as a part of the `lib` target, so during uninstall, removing `lib` is enough to also remove `lib-kconfig`. Filter out `lib-kconfig` during `real-uninstall`. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-19Merge pull request #276 from jcmvbkbc/xtensa-docBryan Hundven3-6/+50
Xtensa docs update
2015-11-19docs: document Xtensa configuration overlayMax Filippov1-0/+42
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-19xtensa: fix kconfig spelling and help textMax Filippov2-6/+8
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-18Merge pull request #269 from stilor/document-update-samplesBryan Hundven1-0/+2
Document {check,update}-samples targets.
2015-11-17Merge pull request #272 from bhundven/showSamples_uClibc-ng_mingwBryan Hundven1-4/+14
showSamples: Fix uClibc-ng name and Mingw-w64 versions
2015-11-17showSamples: Fix uClibc-ng name and Mingw-w64 versionsBryan Hundven1-4/+14
Some LIBCs need some love in showSamples.sh. uClibc-ng is of type of uClibc, so output uClibc-ng if CT_LIBC_UCLIBC_NG=y. mingw-w64 doesn't have a CT_LIBC_VERSION, but it does have a CT_WINAPI_VERSION. So output that instead. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-17Merge pull request #270 from bhundven/fix_showSamplesBryan Hundven1-12/+8
showSamples.sh: Fix how we get gcc and version for showSamples.sh
2015-11-17showSamples.sh: Fix how we get gcc and version for showSamples.shBryan Hundven1-12/+8
I'm not even sure how the previous loop was supposed to work. The config variables are not exported to the environment. Now we properly get which cc we are using and grab the version to display it correctly with the output of wiki-samples. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-17Document {check,update}-samples targets.Alexey Neyman1-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-17Merge pull request #268 from bhundven/consistent_usage_of_found_appsBryan Hundven37-183/+184
consistency: Use exported variables of required tools
2015-11-17Merge pull request #265 from bhundven/ncurses_updateBryan Hundven15-42/+95778
ncurses: bump to ncurses-6.0
2015-11-17consistency: Use exported variables of required toolsBryan Hundven37-183/+184
We check for apps: * make * sed * grep * awk * libtool/libtoolize * install * patch * and more ...during configure. Our scripts should be consistent about using the variables that define where the found tool was found. Of course, we do hard-link these tools in buildtools, but that should be a backup for the components we are building. Our scripts should always use the tools we find. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-16ncurses: bump to ncurses-6.0Bryan Hundven15-42/+95778
This commit removes ncurses-5.9 and adds 6.0. I also provide the stable patch updates in patches/ncurses/6.0. I have also added an experimental toggle for enabling the new ABI support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-16Merge pull request #267 from bhundven/uclibc-prompt-fixBryan Hundven1-1/+1
uClibc-ng: Fix version prompt
2015-11-16uClibc-ng: Fix version promptBryan Hundven1-1/+1
In commit c9704c6683ee2ddab8be390f48f6c2de412b80dc, I forgot to bump the version in the prompt for uClibc-ng-1.0.9. Reported-by: Reinoud Koornstra <reinoudkoornstra@gmail.com> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-16Merge pull request #262 from bhundven/fix_ncurses_tinfoBryan Hundven2-10/+4
configure: Correctly search for tinfo for kconfig
2015-11-15Merge pull request #264 from bhundven/uclibc-ng-updateBryan Hundven2-38/+4
uClibc-ng: Update to uClibc-ng-1.0.9