summaryrefslogtreecommitdiff
path: root/samples
AgeCommit message (Collapse)AuthorFilesLines
2014-07-26samples: add arm-cortexa5-linux-uclibcgnueabihfAlexandre Belloni3-0/+291
This configuration has been tested on an Atmel sama5d3 board. It is a Cortex-A5 without neon and the floating point unit is a vfpv4-d16. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2014-06-28samples/arm-unknown-linux-uclibcgnueabi: major updateThomas Petazzoni3-90/+91
This commit updates the arm-unknown-linux-uclibcgnueabi sample to the modern age: - gcc is bumped from 4.4.3 to 4.8.2 - binutils is bumped from 2.19 to 2.24 - gdb is bumped from 7.1 to 7.7 - uclibc is bumped from 0.9.30 to 0.9.33 - kernel headers are bumped to 3.10 - strace is bumped to 4.8 - all companion libraries are also updated In addition, the ARCH_CPU/ARCH_TUNE configuration options are changed from xscale to arm926ej-s, with the reasoning that in the ARMv5 ecosystem, ARM926EJ-S cores are much, much more widely used than Xscale cores. The resulting toolchain was tested by building a Busybox-only system with Buildroot, and testing it under an ARMv5 Qemu emulation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2014-06-25all: fix wildcard to work with make-4.xYann E. MORIN"1-2/+2
In make-3.8x, the $(wildacrd) function would sort the entries, while in make-4.x, it would just return the entries in any unpredictable order [*] Use the $(sort) function to get reproducible behaviour. [*] Well, most probably the roder the entries appear when read from readdir() Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
2013-10-04samples: add a Sparc sampleYann E. MORIN"2-0/+9
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-02samples: further fix before releaseYann E. MORIN"1-6/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-10-01samples: update for the releaseYann E. MORIN"6-10/+13
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-03-31arch/avr32: Fix download of header filesMartin Guy1-1/+3
This patch fixes the download of the avr32 headers in crosstool-ng by fetching them directly from Atmel's web site instead of the now-broken URL given by the original author of the avr32-header-fetching modification, who fetched them from a copy on his own, now-defunct server. It also adds the necessary logic to extract from a zip file, as that is how the headers are packaged. To configure it for avr32 after launching ct-ng menuconfig in an empty directory: Paths and misc options -> Shell to use as CONFIG_SHELL = sh Target options -> Target Architecture = avr32 Toolchain options -> Tuple's alias = avr32 Binary utilities -> binutils version = 2.18a C compiler gcc version = 4.2.2 C-library newlib version = 1.17.0 Enable IOs on long long = yes Enable IOs on floats and doubles = yes Disable the syscalls supplied with newlib = yes CONFIG_SHELL is necessary to get round the "fragment: command not found" bug when binutils-2.18 is configured using bash. Prepared against crosstool-ng mercurial trunk on 31 March 2012. Signed-off-by: Martin Guy <martinwguy@gmail.com> [yann.morin.1998@free.fr: update bundles sample accordingly] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <CAL4-wQrg_NQ7jm-NCADqeyQr9twyhtx42OUGNThP6gWeqZc=kw@mail.gmail.com> Patchwork-Id: 232612
2013-02-05samples: add arm-cortexa9_neon-linux-gnueabihfBenoît Thébaudeau"2-0/+36
Signed-off-by: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com> [yann.morin.1998@free.fr: make it a defconfig with pinned versions] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <bdf1fde968aee8d0cd95.1360063830@advdt005-ubuntu> Patchwork-Id: 218239
2013-01-24cc/gcc: remove 'sub-level' version form symbolsYann E. MORIN"29-29/+29
Now we use defconfig files to store the samples, we have to be a bit more conservatives in the symbols names, so as to avoid gigantic version bumps when updating sub-level versions from a package. Update samples accordingly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-24samples: print changed symbols when checking samplesYann E. MORIN"1-1/+2
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-21samples: update the rpi sampleYann E. MORIN"2-3/+7
And use the newly introduced CT_ARCH_SUFFIX at the same time. :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-21samples: check if update is neededYann E. MORIN"1-0/+16
Add a ct-ng action to check if samples needs being updated. This will be usefull when the config options change. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-10samples: rename this sampleYann E. MORIN"2-1/+1
This debug string slipped in surreptitiously... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-01-09samples: add a sample for the Raspberry PiYann E. MORIN"2-0/+27
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26all: unmark experimental versionYann E. MORIN"16-0/+29
It's been a while we've had those versions, time to unmark them being experimental. It does not mean everything is perfect, but may gather some more testing on those versions. Update samples accordingly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-12-26all: remove versions marked obsoleteYann E. MORIN"1-1/+0
For major components, keep the latest version of each major releases. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-11-14libc/mingw: replace mingw32 with generic mingwYann Diorcet5-10/+30
Replace the 32-bit-only mingw32 with mingw-w64 that is capable of building toolchains for both 32-bit and 64-bit Windows. kernel/mingw: replace mingw32 with generic Windows kernel/windows: New windows kernel supporting 32 and 64 bit arch libc/mingw: Remove old options patches: Remove old mingw libc options' patches Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com> [yann.morin.1998@free.fr: array var in libc/mingw.sh, typos] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint> Patchwork-Id: 198901
2012-11-09samples: update samples for releaseYann E. MORIN"8-9/+2
Refresh all samples against the new set of options, to be sure they all build OK, before we can do the release. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-09-26samples: add new m68k-unknown-uclinux-uclibc sampleEsben Haabendal3-0/+274
Signed-off-by: "Esben Haabendal" <esben@haabendal.dk> [yann.morin.1998@free.fr: upgrade to using gcc-4.7.2] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <87r4pod1hm.fsf@arh128.prevas.dk> PatchWork-Id: 187182
2012-07-23scripts+samples: fix listings the samplesYann E. MORIN"1-6/+33
Since we use defconfigs to save the samples, listing all the samples can no longer be done by passing all the sample names at one to the script; we need to pass them one-by-one after we expand the sample's defconfig ibnto a complete .config. Reported-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06samples: resave all samples with savedefconfigYann E. MORIN"40-17774/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07samples: rework show-tupleYann E. MORIN"1-3/+8
Now that we are using defconfig files, the samples do not contain the full configuration, so we can not simply parse them to show their content. Instead, we must fake recalling a sample, and parse the generated .config file. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-06samples: use savedefconfig when saving samplesYann E. MORIN"1-3/+3
When saving a sample, use savedefconfig instead of copying the full .config file. This reduces the saved .config, and reduces clutter when it is later upgraded. Also use defconfig when retrieving a sample. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-30samples: update to latest set of optionsYann E. MORIN"40-156/+602
No feature- of version-bump, just update the samples so that no (NEW) option pops up in the release. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-09samples: update to latest config option setYann E. MORIN"36-285/+315
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-01-31samples: update before releaseYann E. MORIN"42-1045/+987
Update all samples to reflect the new set of options, plus: - remove the arm-iphone-linux-gnueabi sample (obsolete...) - disable hard-float in ARM bare-metal samples. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-20samples: set vendor string in all samplesYann E. MORIN"3-3/+3
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-18misc: change references to point to the new websiteYann E. MORIN"1-2/+2
It's been a while now that crosstool-NG has been hosted on it's own website, and not at my home. Change every reference to the old site to the new one, everywhere is makes sense to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16samples: update to latest set of optionsYann E. MORIN"44-1835/+1016
Update all the samples, so that there is not config-prompt when recalling samples. This is no upgrade, it's just about having new options set (y or n) in the samples. Also, get rid of the armeb-test_nptl-linux-uclibcgnueabi, it's no longer needed, there's a non-test sample with uClibc NPTL, now. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16scripts: do not force locale when sorting samplesYann E. MORIN"1-4/+4
Just use whatever the user has set in his/her environment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-25samples: add new mipsel-sde-elf sample.Yann E. MORIN"2-0/+373
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> [yann.morin.1998@anciens.enib.fr: add pointer to ML thread] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12samples: update this ARM sample.Yann E. MORIN"2-67/+118
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12samples: update that mips sampleYann E. MORIN"2-79/+161
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14samples: do not use the mirror by defaultYann E. MORIN"23-46/+23
As the mirror is always tried first, and the default is my server, it means every download will first hit my server. As I do not have much mirrored there, it means a lot of time is lost. Disable use of the mirror for all samples, except the one that does need it for the uClibc snapshot. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-30samples: update before releaseYann E. MORIN"41-4156/+1961
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-13samples: add mips-malta-linux-gnu toolchain configAntony Pavlov2-0/+490
2011-05-04sample: add new Alpha sample with glibc-.13Yann E. MORIN"2-0/+512
Sample provided by Ioannis E. VENETIS Reported-by: "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-28samples: updateYann E. MORIN"39-1297/+2671
Release is coming soon... Time to update samples... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-24samples: add a new sample for ARM Cortex-A15 with VFP/NEONYann E. MORIN"2-0/+576
Sample origiannly reported and provided by dsreed on the #crostool-ng channel on freenode. I don't have the real ID for dsreed, but the sample is not orginally mine, but his/hers. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-27samples: add first sample to build with gcc-4.6.0Yann E. MORIN"2-26/+52
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-14samples: new PPC e300c3 sampleYann E. MORIN"2-0/+507
Gustavo wrote: ---8<--- Attached my ct-ng e300c3 toolchain config for: powerpc-e300c3-linux-gnu [l X] OS : linux-2.6.36.3 Companion libs : gmp-5.0.1 mpfr-3.0.0 ppl-0.10.2 cloog-ppl-0.15.10 mpc-0.8.2 libelf-0.8.13 binutils : binutils-2.21 C compiler : gcc-4.5.2 (C,C++) C library : eglibc-2_12 Tools : ---8<--- Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar> ["Yann E. MORIN" : updated to match new config options] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-30samples: update the samplesYann E. MORIN"40-381/+704
Release time is coming at a fast pace. It is now time to update the samples so they apply cleanly. The canadian-cross sample mingw32,i686-none-linux-gnu has been replaced with i586-mingw32msvc,i686-none-linux-gnu. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-25samples: update the mingw sampleYann E. MORIN"1-11/+20
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-03arch: remove ia64Yann E. MORIN"2-410/+0
ia64 is broken in every gcc/glibc combinations I tested (except for the existing sample that used very old versions). Nobody complained on the list about not being able to build recent versions. So the only way forward I can see is to remove the architecture altogether. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-30samples: update i686-nptl-linux-gnuYann E. MORIN"1-4/+5
Enable Java and Fortran frontends. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-30samples: update i686-nptl-linux-gnuYann E. MORIN"1-30/+72
Notable changes: - uses binutils 2.21, builds gold, but defaults to ld - uses gcc 4.5.2, with GRAPHITE and LTO, builds lto-plugin Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-02samples: update after libc versions renamingYann E. MORIN"31-249/+249
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-03samples: update all samples to latest config knobsYann E. MORIN"39-1100/+1339
No new feature, no newer version, only updates so that samples can be recalled without anything to set. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-18samples: update to not use // downloadYann E. MORIN"36-36/+36
Parallel download can cause issues in some network environments (eg. behind some firewalls/routers), so default to not //. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-07samples: update all samples to use the new build dirYann E. MORIN"37-37/+37
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>