AgeCommit message (Collapse)AuthorFilesLines 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 <>
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 <>
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 <>
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 <> Signed-off-by: Bryan Hundven <>
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
2015-11-15uClibc-ng: Update to uClibc-ng-1.0.9Bryan Hundven2-38/+4
Signed-off-by: Bryan Hundven <>
2015-11-15configure: Correctly search for tinfo for kconfigBryan Hundven2-10/+4
I previously thought that tinfo could only be a link to libncurses in modern ncurses installations. I was wrong. Now we check for ncurses, then check for tinfo. If tinfo is a link to ncurses, it is then not required to link against. But if libtinfo is providing tgetent, and not libncurses, then we must add it to LIBS as well. Also, kconfig shouldn't hardcode -lncurses, it should use what is in $(LIBS). Signed-off-by: Bryan Hundven <>
2015-11-15Merge pull request #263 from bhundven/freebsd_patch_fixBryan Hundven1-1/+1
configure: fix search for gpatch for FreeBSD
2015-11-15configure: fix search for gpatch for FreeBSDBryan Hundven1-1/+1
We require GNU/patch, and when we install patch with `pkg`, crosstool-ng still only finds the BSD/patch in /usr/bin/patch. This commit fixes that and searches for gpatch first. Signed-off-by: Bryan Hundven <>
2015-11-15Merge pull request #261 from bhundven/fix_modesBryan Hundven3-0/+0
file modes: Fix file modes... again.
2015-11-15file modes: Fix file modes... again.Bryan Hundven3-0/+0
These files are sourced, not executed, and do not need to be executable. Signed-off-by: Bryan Hundven <>
2015-11-15Merge pull request #260 from bhundven/update_linuxBryan Hundven1-14/+19
linux: Update linux kernel versions
2015-11-15linux: Update linux kernel versionsBryan Hundven1-14/+19
This commit adds 4.3, and updates: 4.2.3 -> 4.2.6 4.1.10 -> 4.1.13 3.18.22 -> 3.18.24 3.14.54 -> 3.14.57 3.12.49 -> 3.12.50 3.10.90 -> 3.10.93 3.4.109 -> 3.4.110 Signed-off-by: Bryan Hundven <>
2015-11-15Merge pull request #259 from bhundven/mips64-samplesBryan Hundven2-2/+0
samples: Forgot to unmark mips64 samples as not experimental
2015-11-15samples: Forgot to unmark mips64 samples as not experimentalBryan Hundven2-2/+0
As per 4be766254d2368901513aa25fefbaa383092f3cd, mips64 is not longer experimental, and as such, the samples should not need it enabled. Signed-off-by: Bryan Hundven <>
2015-11-15Merge pull request #249 from stilor/expat_ncursesBryan Hundven21-250/+398
Promote expat/ncurses to 'companion libs'
2015-11-15Merge pull request #258 from stilor/check-samplesBryan Hundven7-22/+34
Update samples
2015-11-15Merge pull request #255 from stilor/savestate-loggingBryan Hundven1-4/+2
cosmetic: Do not log state saving/restoring as ERROR.
2015-11-14Do not log state saving/restoring as ERROR.Alexey Neyman1-4/+2
These are not errors. Signed-off-by: Alexey Neyman <>
2015-11-14Remove redundant configure options.Alexey Neyman1-1/+0
-mcpu= and -msoft-float are added due to ARCH_* flags, and correctly passed down to libstdc build. Signed-off-by: Alexey Neyman <>
2015-11-14Remove --disable-libsanitizer.Alexey Neyman1-1/+0
It is now added automatically if CT_GCC_SANITIZER is not set - and that option depends on !UCLIBC. Signed-off-by: Alexey Neyman <>
2015-11-14Switch to using EV67 in alphaev67-*.Alexey Neyman1-1/+1
It does not make much sense to have alphaev67 example use -mcpu=ev67, does it? Signed-off-by: Alexey Neyman <>
2015-11-14More trivial sample updates.Alexey Neyman1-2/+0
Drop ARCH_ARCH/ARCH_TUNE where it is overridden by ARCH_CPU. Also, same updates as in the previous batch for architectures with !ARCH_EXCLUSIVE_WITH_CPU (i.e. where there is no need to drop ARCH_CPU/ARCH_TUNE). Signed-off-by: Alexey Neyman <>
2015-11-14Allow --with-cpu/--with-tune for !arm.Alexey Neyman2-2/+6
The configure error mentioned in the commits that disable --with-arch/--with-tune when --with-cpu is specified is specific to ARM builds. For other architectures, it makes sense (hey, it even makes sense for ARM - read 'info gcc'! - it is just a shortcoming of ARM build, apparently). Thus, add an arch setting ARCH_EXCLUSIVE_WITH_CPU (currently, set only for ARM) that will trigger current behavior. Permit combinations of --with-arch/cpu/tune for other arches. Signed-off-by: Alexey Neyman <>
2015-11-14Use $* to simplify rules in Neyman1-9/+9
Signed-off-by: Alexey Neyman <>
2015-11-14Add update-samples target.Alexey Neyman1-6/+18
Same as check-samples, but actually updates the crosstool.config. Signed-off-by: Alexey Neyman <>
2015-11-14Merge pull request #256 from bhundven/samples_updateBryan Hundven36-87/+24
Samples: Update samples
2015-11-14Merge pull request #257 from bhundven/libtinfo_checkBryan Hundven1-0/+9
configure: Check for
2015-11-14configure: Check for libtinfo.soBryan Hundven1-0/+9
While usually distributed with ncurses, some distributions distribute this library separately. Check to make sure it is installed. This closes #241 Signed-off-by: Bryan Hundven <>
2015-11-14Samples: Update samplesBryan Hundven36-87/+24
This commit updates samples to latest config/ changes. This closes #114 Signed-off-by: Bryan Hundven <>
2015-11-13Update new companion libs with *_for_target.Alexey Neyman2-0/+2
Signed-off-by: Alexey Neyman <>
2015-11-13Pass CFLAGS/LDFLAGS to backends.Alexey Neyman2-1/+11
Signed-off-by: Alexey Neyman <>
2015-11-13Clean up a bit.Alexey Neyman1-52/+31
Now that expat/curses have migrated into separate script, no need for do_debug_gdb_parts() and need_gdb_src checks. Signed-off-by: Alexey Neyman <>
2015-11-13Enable building expat/ncurses for host.Alexey Neyman5-3/+56
Then re-enable cross-gdb for nios2-spico-elf sample, previously disabled.
2015-11-13Change ncurses to a companion library.Alexey Neyman7-120/+159
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 Neyman7-57/+109
Expat-for-host to be done. Signed-off-by: Alexey Neyman <>
2015-11-13Build companion libs for target.Alexey Neyman8-21/+34
Currently, only libelf has a for-target step - but it generalizes the step to hook other libraries into this step. Signed-off-by: Alexey Neyman <>
2015-11-13Merge pull request #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven23-0/+3406
Add support for Xtensa architecture
2015-11-13Add xtensa-unknown-linux-uclibc to Travis buildMax Filippov1-0/+1
Signed-off-by: Max Filippov <>
2015-11-13samples: add xtensa-unknown-linux-uclibc configMax Filippov2-0/+10
Signed-off-by: Max Filippov <>
2015-11-13Merge pull request #254 from bhundven/not_executableBryan Hundven11-0/+0
file modes: Set files to be non-executable
2015-11-13file modes: Set files to be non-executableBryan Hundven11-0/+0
I was going to start doing some autoconf work, and noticed that was executable. Then I noticed was executable. o.O So, I ran ```find . -type f -executable``` and found a bunch of files that shouldn't be set executable. This commit makes them normal files again. Signed-off-by: Bryan Hundven <>
2015-11-13gdb: add xtensa-specific patches for 7.10Max Filippov3-0/+105
Signed-off-by: Max Filippov <>
2015-11-13gcc: add xtensa-specific patches for 5.2.0Max Filippov1-0/+64
Signed-off-by: Max Filippov <>
2015-11-13binutils: add xtensa-specific patches for 2.25.1Max Filippov9-0/+3077
Signed-off-by: Max Filippov <>
2015-11-13xtensa: add support for the configurable Xtensa architecture.Chris Zankel7-0/+149
The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core. Processor and SOC vendors can select from various processor options and even create customized instructions in addition to a base ISA to tailor the processor for a particular application. Because of the configurability, the build process requires one additional step for gcc, binutils, and gdb to update the default configuration. These configurations are packed into an 'overlay' tar image, and are simply untarred on top of the default configuration during the build. Signed-off-by: Max Filippov <>