summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
2015-11-14Use $* to simplify rules in samples.mk.Alexey Neyman1-9/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
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 libtinfo.so
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 <bryanhundven@gmail.com>
2015-11-14Samples: Update samplesBryan Hundven36-87/+24
This commit updates samples to latest config/ changes. This closes #114 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13Update new companion libs with *_for_target.Alexey Neyman2-0/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-13Pass CFLAGS/LDFLAGS to backends.Alexey Neyman2-1/+11
Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-13Clean up 300-gdb.sh 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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <jcmvbkbc@gmail.com>
2015-11-13samples: add xtensa-unknown-linux-uclibc configMax Filippov2-0/+10
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
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 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>
2015-11-13gdb: add xtensa-specific patches for 7.10Max Filippov3-0/+105
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-13gcc: add xtensa-specific patches for 5.2.0Max Filippov1-0/+64
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-11-13binutils: add xtensa-specific patches for 2.25.1Max Filippov9-0/+3077
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
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 <jcmvbkbc@gmail.com>
2015-11-13Merge pull request #239 from diorcety-ctng/cc-cygwin-mingw-linuxBryan Hundven25-10/+1084
Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
2015-11-13Merge pull request #245 from villytiger/install-stripBryan Hundven4-6/+20
Use install-strip target for gcc optionally
2015-11-13Merge pull request #252 from bhundven/kconfig-4.4Bryan Hundven5-17/+18
kconfig: Add updates from linux-4.3 and 4.4
2015-11-13Merge pull request #221 from bhundven/uclibc-ngBryan Hundven149-6911/+5468
Add support for uClibc-ng
2015-11-13travis-ci: Update samples to be more diverseBryan Hundven1-1/+3
We still need to add some cross-canadian and more musl-libc samples. But this is a start. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13gcc: Sync patches with buildrootBryan Hundven58-112/+5062
This commit sync gcc patches with buildroot. I found this useful for fixing a few uClibc related issues. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-11-13Cygwin: Add documentationRay Donnelly1-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>
2015-11-13Samples: Add x86_64-w64-mingw32,x86_64-pc-linux-gnuRay Donnelly2-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>
2015-11-13libtool: Update to 2.4.6 and patch for CygwinRay Donnelly2-1/+13
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2015-11-13Add gettext and libiconv as companion libsRay Donnelly11-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>