Commit Graph

314 Commits

Author SHA1 Message Date
Yann E. MORIN"
542bb18409 scripts+samples: fix listings the samples
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-07-23 22:02:23 +02:00
Yann E. MORIN"
eb6e2e87f0 samples: resave all samples with savedefconfig
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-05-07 00:10:00 +02:00
Yann E. MORIN"
33a6cdd7ec samples: rework show-tuple
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-07 21:37:59 +02:00
Yann E. MORIN"
99a6ddf3be samples: use savedefconfig when saving samples
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-05-07 00:27:05 +02:00
Yann E. MORIN"
817c24034e samples: update to latest set of options
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-30 18:14:13 +02:00
Yann E. MORIN"
4ffc66613f samples: update to latest config option set
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-04-09 11:00:35 +02:00
Yann E. MORIN"
e1d16aa95e samples: update before release
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>
2012-02-01 00:10:59 +01:00
Yann E. MORIN"
715c5e3903 samples: set vendor string in all samples
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-20 23:12:16 +02:00
Yann E. MORIN"
1cc14334e4 misc: change references to point to the new website
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-18 20:17:41 +02:00
Yann E. MORIN"
32c5ef83a1 samples: update to latest set of options
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-16 17:51:42 +02:00
Yann E. MORIN"
3032eb0e9c scripts: do not force locale when sorting samples
Just use whatever the user has set in his/her environment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-16 21:48:10 +02:00
Yann E. MORIN"
d09ded3f65 samples: add new mipsel-sde-elf sample.
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-25 15:21:29 -07:00
Yann E. MORIN"
ea7e2f9dfe samples: update this ARM sample.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-13 00:15:45 +02:00
Yann E. MORIN"
4f3b883071 samples: update that mips sample
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-12 12:54:45 +02:00
Yann E. MORIN"
b5ae41d3cf samples: do not use the mirror by default
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-08-14 17:18:32 +02:00
Yann E. MORIN"
46de459e33 samples: update before release
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-31 00:46:45 +02:00
Antony Pavlov
cae77e1b31 samples: add mips-malta-linux-gnu toolchain config 2011-06-13 22:54:29 +04:00
Yann E. MORIN"
ea392fb196 sample: add new Alpha sample with glibc-.13
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-05-04 19:19:56 +02:00
Yann E. MORIN"
21ce63f28b samples: update
Release is coming soon... Time to update samples...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-04-28 19:36:56 +02:00
Yann E. MORIN"
1b1bb6c588 samples: add a new sample for ARM Cortex-A15 with VFP/NEON
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-04-24 22:47:10 +02:00
Yann E. MORIN"
a06a66d326 samples: add first sample to build with gcc-4.6.0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-03-28 00:58:33 +02:00
Yann E. MORIN"
965c646afd samples: new PPC e300c3 sample
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-03-14 22:16:01 +01:00
Yann E. MORIN"
ea70303d73 samples: update the samples
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-30 19:25:56 +01:00
Yann E. MORIN"
4d82364f1f samples: update the mingw sample
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-26 00:12:27 +01:00
Yann E. MORIN"
a28b593548 arch: remove ia64
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>
2011-01-03 22:02:06 +01:00
Yann E. MORIN"
c46370122d samples: update i686-nptl-linux-gnu
Enable Java and Fortran frontends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-12-31 00:16:19 +01:00
Yann E. MORIN"
ab0ef7042f samples: update i686-nptl-linux-gnu
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>
2010-12-30 21:06:04 +01:00
Yann E. MORIN"
8d821ce49a samples: update after libc versions renaming
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-01-02 22:32:04 +01:00
Yann E. MORIN"
fd5d0a93e2 samples: update all samples to latest config knobs
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-11-03 18:30:30 +01:00
Yann E. MORIN"
8b0fb989fc samples: update to not use // download
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-18 21:50:26 +02:00
Yann E. MORIN"
f6b59188f1 samples: update all samples to use the new build dir
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-07 23:53:16 +02:00
Yann E. MORIN"
aa3d69979f samples: update powerpc-e500v2-linux-gnuspe
Update the configuration and the comment.

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-07 23:51:23 +02:00
Yann E. MORIN"
e9a2a86d4d arch/mips: add experimental mips64 samples
Both toolchains were tested to successfully:
- _build_ busybox, giving respectively an n32 and an n64 binary
  although it has not been run-tested.
- build linux-2.6.36-rc3 for Loongson, giving an n64 vmlinux
  (which is expected, due to the way the kernel is built),
  and the kernel properly boots!

Credits are due to Julien MOUTHINO (julm on freenode#uClibc) for
testing that the kernel boots on his hardware! Cheers! ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12 23:38:18 +02:00
Yann E. MORIN"
bffcb7b3fa samples: update all samples
All samples get rebased, no new option is chosen.
2010-08-01 14:21:13 +02:00
Yann E. MORIN"
749b819c92 samples: add a short list of all samples
Add an action to list only the sample names.
Use that for auto-completion.
2010-07-30 23:30:02 +02:00
Bart vdr Meulen
b240cfcc3a samples: add Linux -> Mingw32 sample
Sample to build compiler targetting mingw32 target systems

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
 samples/i686-pc-mingw32/crosstool.config |  302 +++++++++++++++++++++++++++++++
 samples/i686-pc-mingw32/reported.by      |    3
 2 files changed, 305 insertions(+)
 create mode 100644 samples/i686-pc-mingw32/crosstool.config
 create mode 100644 samples/i686-pc-mingw32/reported.by
2010-07-11 21:37:29 +02:00
Yann E. MORIN"
df541a321e samples: add an ARMeb uClibc/NPTL experimental sample 2010-07-11 00:20:13 +02:00
Yann E. MORIN"
9cdba4a57c samples: update 2010-04-30 14:28:14 +02:00
Thomas Petazzoni
be221494fa samples: add Blackfin sample 2010-04-07 09:26:12 +02:00
Yann E. MORIN"
e5a007415a scripts: misc help and auto-complete fixes
- don't list samples in the main help screen
- improve the samples listing in list-samples
- don't document the 'config' action, it's long dead
- document the 'V' environment variable
- improve on START, STOP and PREFIX environment variables
- add PREFIX and V to autocomplete
- advertise auto-complete at install time
2010-04-02 00:18:26 +02:00
Yann E. MORIN"
6a151cfe74 samples: fix samples 2010-03-19 19:02:30 +01:00
Titus von Boxberg"
836562e0d0 scripts/samples: use the computed '$(sed)', not 'sed' 2010-02-03 00:24:24 +01:00
Yann E. MORIN"
2a1730cd1d samples: fix this MIPS eglibc-based sample
Specify the SVN revision to use for the eglibc snapshot instead of HEAD,
as some patches made their way upstream in the meantime.
2010-02-18 19:29:06 +01:00
Yann E. MORIN"
8d01c33fd1 samples: update samples
Update to the latest set of config options (no config change).
Remove OABI ARM samples.
2010-01-31 23:04:35 +01:00
Yann E. MORIN"
964d20b1c7 scripts: dump the current tuple with show-config 2010-01-31 20:10:14 +01:00
Yann E. MORIN"
3fb0463536 scripts: add action to dump current configuration in humane-readable form 2010-01-31 15:57:22 +01:00
Yann E. MORIN
6d70a576da arch: add basic m68k support
Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciens.enib.fr: use defaults for CT_TARGET_ARCH]
Signed-off-by: "Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
2010-01-29 23:23:59 +01:00
Yann E. MORIN"
68058e12b8 samples: update armeb-unknown-linux-uclibcgnueabi: use uClibc-0.9.30.2 2010-01-14 19:09:27 +01:00
Yann E. MORIN"
89eca789ce samples: update armeb-unknown-linux-uclibcgnueabi 2010-01-07 20:40:52 +01:00
Yann E. MORIN"
df239bc7ee samples: refine the listing of all samples for canadian samples
For canadian samples, display the sample as:
  target-tuple (host: host-tuple)
2010-01-03 18:40:35 +01:00