aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* configure: Correctly search for tinfo for kconfigBryan Hundven2015-11-142-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 <bryanhundven@gmail.com>
* Merge pull request #263 from bhundven/freebsd_patch_fixBryan Hundven2015-11-141-1/+1
|\ | | | | configure: fix search for gpatch for FreeBSD
| * configure: fix search for gpatch for FreeBSDBryan Hundven2015-11-141-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 <bryanhundven@gmail.com>
* Merge pull request #261 from bhundven/fix_modesBryan Hundven2015-11-143-0/+0
|\ | | | | file modes: Fix file modes... again.
| * file modes: Fix file modes... again.Bryan Hundven2015-11-143-0/+0
|/ | | | | | These files are sourced, not executed, and do not need to be executable. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #260 from bhundven/update_linuxBryan Hundven2015-11-141-14/+19
|\ | | | | linux: Update linux kernel versions
| * linux: Update linux kernel versionsBryan Hundven2015-11-141-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 <bryanhundven@gmail.com>
* Merge pull request #259 from bhundven/mips64-samplesBryan Hundven2015-11-142-2/+0
|\ | | | | samples: Forgot to unmark mips64 samples as not experimental
| * samples: Forgot to unmark mips64 samples as not experimentalBryan Hundven2015-11-142-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 <bryanhundven@gmail.com>
* Merge pull request #249 from stilor/expat_ncursesBryan Hundven2015-11-1421-250/+398
|\ | | | | Promote expat/ncurses to 'companion libs'
| * Update new companion libs with *_for_target.Alexey Neyman2015-11-132-0/+2
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Pass CFLAGS/LDFLAGS to backends.Alexey Neyman2015-11-132-1/+11
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Clean up 300-gdb.sh a bit.Alexey Neyman2015-11-131-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 <stilor@att.net>
| * Enable building expat/ncurses for host.Alexey Neyman2015-11-135-3/+56
| | | | | | | | | | Then re-enable cross-gdb for nios2-spico-elf sample, previously disabled.
| * Change ncurses to a companion library.Alexey Neyman2015-11-137-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 <stilor@att.net>
| * Convert expat for target into a companion lib.Alexey Neyman2015-11-137-57/+109
| | | | | | | | | | | | Expat-for-host to be done. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Build companion libs for target.Alexey Neyman2015-11-138-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 <stilor@att.net>
* | Merge pull request #258 from stilor/check-samplesBryan Hundven2015-11-147-22/+34
|\ \ | | | | | | Update samples
| * | Remove redundant configure options.Alexey Neyman2015-11-141-1/+0
| | | | | | | | | | | | | | | | | | | | | -mcpu= and -msoft-float are added due to ARCH_* flags, and correctly passed down to libstdc build. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Remove --disable-libsanitizer.Alexey Neyman2015-11-141-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 <stilor@att.net>
| * | Switch to using EV67 in alphaev67-*.Alexey Neyman2015-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | It does not make much sense to have alphaev67 example use -mcpu=ev67, does it? Signed-off-by: Alexey Neyman <stilor@att.net>
| * | More trivial sample updates.Alexey Neyman2015-11-141-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 <stilor@att.net>
| * | Allow --with-cpu/--with-tune for !arm.Alexey Neyman2015-11-142-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 <stilor@att.net>
| * | Use $* to simplify rules in samples.mk.Alexey Neyman2015-11-141-9/+9
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Add update-samples target.Alexey Neyman2015-11-141-6/+18
| | | | | | | | | | | | | | | | | | Same as check-samples, but actually updates the crosstool.config. Signed-off-by: Alexey Neyman <stilor@att.net>
* | | Merge pull request #255 from stilor/savestate-loggingBryan Hundven2015-11-141-4/+2
|\ \ \ | |/ / |/| | cosmetic: Do not log state saving/restoring as ERROR.
| * | Do not log state saving/restoring as ERROR.Alexey Neyman2015-11-141-4/+2
| |/ | | | | | | | | | | These are not errors. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #256 from bhundven/samples_updateBryan Hundven2015-11-1436-87/+24
|\ \ | | | | | | Samples: Update samples
| * | Samples: Update samplesBryan Hundven2015-11-1436-87/+24
| |/ | | | | | | | | | | | | | | This commit updates samples to latest config/ changes. This closes #114 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | Merge pull request #257 from bhundven/libtinfo_checkBryan Hundven2015-11-141-0/+9
|\ \ | |/ |/| configure: Check for libtinfo.so
| * configure: Check for libtinfo.soBryan Hundven2015-11-141-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 <bryanhundven@gmail.com>
* Merge pull request #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven2015-11-1323-0/+3406
|\ | | | | Add support for Xtensa architecture
| * Add xtensa-unknown-linux-uclibc to Travis buildMax Filippov2015-11-131-0/+1
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * samples: add xtensa-unknown-linux-uclibc configMax Filippov2015-11-132-0/+10
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * gdb: add xtensa-specific patches for 7.10Max Filippov2015-11-133-0/+105
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * gcc: add xtensa-specific patches for 5.2.0Max Filippov2015-11-131-0/+64
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * binutils: add xtensa-specific patches for 2.25.1Max Filippov2015-11-139-0/+3077
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
| * xtensa: add support for the configurable Xtensa architecture.Chris Zankel2015-11-137-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 <jcmvbkbc@gmail.com>
* | Merge pull request #254 from bhundven/not_executableBryan Hundven2015-11-1211-0/+0
|\ \ | |/ |/| file modes: Set files to be non-executable
| * file modes: Set files to be non-executableBryan Hundven2015-11-1211-0/+0
|/ | | | | | | | | | | | | | I was going to start doing some autoconf work, and noticed that configure.in was executable. Then I noticed Makefile.in 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 <bryanhundven@gmail.com>
* Merge pull request #239 from diorcety-ctng/cc-cygwin-mingw-linuxBryan Hundven2015-11-1225-10/+1084
|\ | | | | Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
| * Cygwin: Add documentationRay Donnelly2015-11-131-0/+46
| | | | | | | | | | | | | | There's a lot that can go wrong if you stray from the path. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Samples: Add x86_64-w64-mingw32,x86_64-pc-linux-gnuRay Donnelly2015-11-132-0/+31
| | | | | | | | | | | | Tested on build machines of x86_64-pc-cygwin and x86_64-unknown-linux-gnu Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * libtool: Update to 2.4.6 and patch for CygwinRay Donnelly2015-11-132-1/+13
| | | | | | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Add gettext and libiconv as companion libsRay Donnelly2015-11-1311-0/+829
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. they're needed for the RPC generation in glibc on both Cygwin and MinGW-w64. Neither are built on GNU/Linux and iconv is not built on Darwin. Two patches for gettext are needed, one so that -O0 works and one so that static builds can be made. They can take a good while to build, so if not needed for_host or for_build then they are not built. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * glibc: Cygwin doesn't have stat64Ray Donnelly2015-11-131-0/+13
| | | | | | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * MinGW-w64: winpthreads doesn't have pthread_mutexattr_settypeRay Donnelly2015-11-131-0/+11
| | | | | | | | | | | | It's only used as a hint, so excluding it shouldn't cause any problems. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Cygwin: Define R_X86_64_JUMP_SLOTRay Donnelly2015-11-131-0/+16
| | | | | | | | | | | | This should be upstreamed to Cygwin ideally. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Cygwin: Link to libintl for gettextRay Donnelly2015-11-133-9/+7
| | | | | | | | Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
| * Add help2man as PROGS_REQ and to travisRay Donnelly2015-11-132-0/+2
| | | | | | | | | | | | libtool needs it. Signed-off-by: Ray Donnelly <mingw.android@gmail.com>