aboutsummaryrefslogtreecommitdiff
path: root/samples
Commit message (Collapse)AuthorAgeFilesLines
* sample: s390x-ibm-linux-gnu removed CT_PATCH_NONE=yYogesh Sharma2016-09-071-1/+0
| | | | Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
* sample: i686-w64-mingw32,nios2-spico-elf updated ISLYogesh Sharma2016-09-071-1/+1
| | | | Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
* Merge pull request #406 from vaibhav92/powerpc64le-sampleBryan Hundven2016-08-302-0/+16
|\ | | | | samples: Add powerpc64 little-endian toolchain sample
| * samples: Add powerpc64 little-endian toolchain sampleVaibhav Jain2016-07-192-0/+16
| | | | | | | | | | | | | | | | | | | | | | This change adds a powerpc64le-unknown-linux-gnu sample that can be used to quickly create a little-endian tool-chain for powerpc64 architecture. This sample is based on the earlier work done by "Yann E. MORIN" to add support for powerpc64 tool chain and implementing the power64-unknown-linux-gnu sample. The existing sample however generates a big-endian tool chain by default. Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
* | Merge pull request #409 from KirillSmirnov/masterBryan Hundven2016-08-303-0/+40
|\ \ | | | | | | samples: Add sparc-leon-linux-uclibc sample
| * | Add sparc-leon-linux-uclibc sampleKirill K. Smirnov2016-07-263-0/+40
| |/ | | | | | | Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
* | Rename sample to match the 'saveconfig' location.Alexey Neyman2016-08-232-0/+0
| | | | | | | | | | | | | | arm-cortex_a15-linux-gnueabi was actually arm-cortex_a15-linux-gnueabihf. Signed-off-by: Alexey Neyman <stilor@att.net>
* | build-all: Remove successful build trees.Alexey Neyman2016-08-231-1/+3
| | | | | | | | | | | | I am running out of space when running build-all for all samples. Signed-off-by: Alexey Neyman <stilor@att.net>
* | arm-multilib-linux-uclibcgnueabi: Add.Alexey Neyman2016-08-232-0/+21
| | | | | | | | | | | | | | No threads (uclibc/libpthread does not compile on ARMv8); no C++ (libitm depends on pthreads), no GDB/DUMA (depend on threads). Signed-off-by: Alexey Neyman <stilor@att.net>
* | mips64el-*-linux-uclibc: Remove.Alexey Neyman2016-08-234-35/+0
| | | | | | | | | | | | Now, both -mabi=n32 and -mabi=64 are available as multilibs. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Create multilib configurations based on certain *-linux-* samples.Alexey Neyman2016-08-2318-0/+166
|/ | | | | | | | | | | | | | | | | | | | | Based on the following samples: - x86_64-unknown-linux-gnu (-m64/-m32/-mx32) - powerpc64-unknown-linux-gnu (-m64/-m32) - mipsel-unknown-linux-gnu (-mabi={32,n32,64}) - sh4-unknown-linux-gnu (-m4/-m4a) - x86_64-unknown-linux-uclibc (-m64/-m32) - mips64el-unknown-linux-uclibc (-mabi={32,n32,64}) New samples: - sparc64-multilib-linux-gnu (-m64/-m32) - sh4-multilib-linux-uclibc (-m4/-m4a/-m3) - x86_64-multilib-linux-musl (-m64/-m32) Notably missing is arm-unknown-linux-gnu (aprofile): GLIBC does not compile in one of the variants in its multilib set (-march=armv4t -mthumb) due to missing atomic ops implementation. Signed-off-by: Alexey Neyman <stilor@att.net>
* Mark x86_64-w64-mingw32,x86_64-pc-linux-gnu broken.Alexey Neyman2016-04-012-2/+0
| | | | | | | | | | | | | | | | | I couldn't get this sample to build. I tried rolling ct-ng back to 1.22 and back to the commit that introduced it, to no avail. Not sure if it ever built on my machine. The first problem is the failure to build binutils/gold because of the missing <pthread.h> in mingw. However, even if CT_BINUTILS_GOLD_THREADS option is unset, the build dies in configure of the pass-1 of the core CC. The config.log states that it failed to link with libmpfr.a, which has a lot of undefined references to symbols like '__imp___iob_func'. Googling shows that these symbols are some dark Cygwin/MinGW magic and I do not have the knowledge of these arcana. Let some other MinGWizard fix it another day. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove --with-expat from extra GDB args.Alexey Neyman2016-04-014-4/+0
| | | | | | | 300-gdb.sh always adds --with-expat, no need to list it in crosstool.config. Signed-off-by: Alexey Neyman <stilor@att.net>
* Unbreak powerpc-unknown-linux-uclibc.Alexey Neyman2016-04-011-0/+0
| | | | | | | | | | | | There is invalid assembly in dmalloc for PowerPC. The issue is that 'stw' expects a memory operand, and =g constraint allows both registers and memory. Newer GCC tends to choose register even at -O0, resulting in invalid assembly. Instead, force a register constraint in 'mflr' and let GCC decide if it wants to store it into memory at all. Reported this upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #364 from bhundven/aarch64_generic_sampleBryan Hundven2016-03-032-0/+17
|\ | | | | Aarch64 generic sample
| * samples: Add generic aarch64 sampleBryan Hundven2016-03-032-0/+17
| | | | | | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | samples: add aarch64-rpi3-linux-gnueabiBryan Hundven2016-03-032-0/+17
|/ | | | | | | | This is a aarch64 raspberry pi 3 sample. Please test! Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Adds Raspberry Pi 3 sample configStefan Hallas Mulvad2016-03-022-0/+18
| | | | Signed-off-by: Stefan Hallas Mulvad <shm@hallas.nu>
* mingw-w64: Set it as experimentalBryan Hundven2015-11-192-0/+2
| | | | | | | | | 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>
* Document {check,update}-samples targets.Alexey Neyman2015-11-171-0/+2
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* 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-141-1/+0
|\ | | | | Promote expat/ncurses to 'companion libs'
| * Enable building expat/ncurses for host.Alexey Neyman2015-11-131-1/+0
| | | | | | | | | | Then re-enable cross-gdb for nios2-spico-elf sample, previously disabled.
* | 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>
* | 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>
* | 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 #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven2015-11-132-0/+10
|\ | | | | Add support for Xtensa architecture
| * samples: add xtensa-unknown-linux-uclibc configMax Filippov2015-11-132-0/+10
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* | file modes: Set files to be non-executableBryan Hundven2015-11-121-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-122-0/+31
|\ | | | | Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
| * 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>
* | samples: Update samples to use default uClibc-ng configBryan Hundven2015-11-1222-2818/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes per-sample configuration files for uClibc and falls back to using the default config file in contrib/uClibc-defconfigs. Only one sample is broken: * powerpc-unknown-linux-uclibc * breaks on dmalloc I will come back and work on the dmalloc failure later, but I don't want it to hold up getting uClibc-ng out in ct-ng. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* | uClibc: Reduce supported versionsBryan Hundven2015-11-111-8/+0
|/ | | | | | | | | This commit reduces the number of supported versions to: * 0.9.33.2 * custom location Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* blackfin: Remove blackfin supportBryan Hundven2015-11-0914-259/+0
| | | | | | | | | | This commit removes blackfin support. I'm open to re-adding blackfin after crosstool-1.23.0 is released, but it is currently too difficult to port forward to newer versions of gcc and uclibc. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #233 from stilor/fix-build-allBryan Hundven2015-11-043-14/+60
|\ | | | | Fix build-all
| * Fix samples using GMP 4.3.2.Alexey Neyman2015-10-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some older versions of configure (including the one in GMP 4.3.2) interpret the $ECHO environment variable as the `echo' utility to use. CT-NG sets the variable to `:' and exports it if V=0 or V=1 is supplied, breaking the samples using such configure. This currently includes bfin-unknown-linux-uclibc and powerpc-unknown-linux-uclibc. Also, correct the description of the V= variable - V=0 is *not* the default; in fact, default does not correspond to any of the V=[012] values. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Do not stop build-all after a failed sample.Alexey Neyman2015-10-301-3/+31
| | | | | | | | | | | | | | Instead, continue until the end and provide a summary (PASS/XFAIL/FAIL) at the end. If there are any FAILs, exit with code 1. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Order the samples in build-all.Alexey Neyman2015-10-301-3/+13
| | | | | | | | | | | | | | | | | | First, build cross samples (indicated by lack of comma in their names); then, build canadian cross samples (and, when they are supported, cross-native). While building canadian cross, set up the path to the build-to-host cross if it was built previously. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Avoid commas in autogenerated CT_PREFIX_DIR.Alexey Neyman2015-10-301-5/+12
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Make build-all non-interactive.Alexey Neyman2015-10-301-3/+4
| | | | | | | | | | | | | | | | | | | | 'make oldconfig' results in asking the user about options not explicitly set in the defconfig. Instead of copying, run 'conf --defconfig', as in the normal sample's build sequence. Also, invoke 'conf --oldconfig' directly, with a -s option, to avoid spamming with useless "configuration written to .config" messages. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Rename nios2 sample to match the naming convention.Alexey Neyman2015-10-302-0/+0
| | | | | | | | | | | | | | | | | | With current name, 'make saveconfig' is broken for this sample. Also, it is confusing to have a sample named 'nios2-elf-mingw32' while show-tuple refers to it as 'nios2-spico-elf' and saveconfig attempts to save it into 'i686-w64-mingw32,nios2-spico-elf'. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #235 from stilor/ctng-sourceBryan Hundven2015-11-031-1/+1
|\ \ | | | | | | ctng source
| * | Change sed monstrosity into a make variable.Alexey Neyman2015-10-301-1/+1
| |/ | | | | | | | | | | | | The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
* / gcc: Support only the latest branch releases of gccBryan Hundven2015-10-3116-28/+14
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on https://gcc.gnu.org under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* Merge pull request #225 from stilor/nios2-fixBryan Hundven2015-10-281-523/+2
|\ | | | | Unbreak nios2-elf-mingw32 sample
| * Turn off CT_MULTILIB in nios2-elf-mingw32.Alexey Neyman2015-10-271-1/+0
| | | | | | | | | | | | There are no multilibs in GCC configured for this arch. Signed-off-by: Alexey Neyman <stilor@att.net>