Commit Graph

1290 Commits

Author SHA1 Message Date
Yann E. MORIN"
b6b1bec022 Make strace 4.5.17 and 4.5.18 build with latest uClibc (which no longer install cachectl.h).
Patch from OpenEmbedded, by Khem (RAJ?), and forwarded by Joachim NILSSON.

 /trunk/patches/strace/4.5.17/180-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 /trunk/patches/strace/4.5.18/170-no_cachectl.patch |   35    35     0     0 ++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)
2008-11-16 20:37:39 +00:00
Yann E. MORIN"
3905eec431 Add latest uClibc 0.9.30 ( at last! ;-) )
/trunk/config/libc/uClibc.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-11-14 13:49:27 +00:00
Yann E. MORIN"
00326c96db Add a fast Linux kernel mirror.
/trunk/scripts/build/kernel/linux.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-14 13:48:55 +00:00
Yann E. MORIN"
6c7c991b14 Add the latest Linux kernel versions:
- 2.6.25.20
- 2.6.26.8
- 2.6.27.{4,5,6}

 /trunk/config/kernel/linux.in |   26    23     3     0 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
2008-11-13 20:19:50 +00:00
Yann E. MORIN"
8fba8c2732 Merge #1195, #1196 and #1203 from /devel/YEM-build_host_target_cleanup:
- Get rid of CT_CC_NATIVE
- Get rid of CT_CANADIAN_OPT
- Sanitise CT_BUILD vs. CT_HOST

 /trunk/scripts/build/tools/200-sstrip.sh |    4     2     2     0
 /trunk/scripts/build/binutils.sh         |    1     0     1     0 -
 /trunk/scripts/build/cc/gcc.sh           |   11     6     5     0 +-
 /trunk/scripts/build/debug/200-duma.sh   |    3     1     2     0 -
 /trunk/scripts/build/libc/glibc.sh       |   10     5     5     0 +-
 /trunk/scripts/build/libc/eglibc.sh      |    8     4     4     0 +-
 /trunk/scripts/crosstool.sh              |  168   113    55     0 ++++++++++++++++++++++++++------------
 /trunk/config/toolchain.in               |  160   137    23     0 +++++++++++++++++++++++++++++++-----
 8 files changed, 268 insertions(+), 97 deletions(-)
2008-11-13 18:22:23 +00:00
Yann E. MORIN"
301fbac58e Merge 1199 and 1200 from /devel/YEM-build_host_target_cleanup:
- Allow hand-indentation in the kconfig prompts
- Start documenting the kconfig deviations from the kernel's version

 /trunk/kconfig/menu.c    |   10     8     2     0 ++++++++--
 /trunk/docs/overview.txt |    6     6     0     0 ++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
2008-11-13 17:55:16 +00:00
Yann E. MORIN"
ef0e776b9e Make the 'updatetools' rule conform to the V={,0,1,2} verbosity level.
/trunk/tools/tools.mk |   28    20     8     0 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)
2008-11-13 17:34:44 +00:00
Yann E. MORIN"
f9f70c5ad6 Do not autodetect 64-bit archs, have them tell be 'select'-ing ARCH_64 in the configuration.
/trunk/scripts/crosstool.sh  |   12     5     7     0 +++++-------
 /trunk/docs/overview.txt     |    6     6     0     0 ++++++
 /trunk/config/target.in      |    4     4     0     0 ++++
 /trunk/config/arch/x86_64.in |    1     1     0     0 +
 /trunk/config/arch/ia64.in   |    1     1     0     0 +
 5 files changed, 17 insertions(+), 7 deletions(-)
2008-11-07 08:09:42 +00:00
Yann E. MORIN"
15d657ce4e Do not take lib64/ in account when fixing the glibc linker scripts:
- lib64 dirs are symlinks to the corresponding lib/ dirs.

 /trunk/scripts/build/libc/glibc.sh |    4     3     1     0 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
2008-11-07 08:03:32 +00:00
Yann E. MORIN"
fd8f312091 Update ltrace to ltrace-0.5 + fixes from Debian ltrace-0.5-3.1.
/trunk/patches/ltrace/0.5/130-fixes-by-debian.patch     |  812   812     0     0 +++++++++++++++++++++++
 /trunk/patches/ltrace/0.5/110-allow-cross-compile.patch |   26    13    13     0
 /trunk/config/debug/ltrace.in                           |    5     5     0     0 +
 3 files changed, 830 insertions(+), 13 deletions(-)
2008-11-04 18:52:59 +00:00
Yann E. MORIN"
25461c378b Use target GMP and MPFR when building target binutils:
- this is not really used yet, as only the iberty and bfd libraries are built
- if we ever are to build the full binutils for the target, then it is already configured to use the target GMP and MPFR.

 /trunk/scripts/build/binutils.sh |    7     7     0     0 +++++++
 1 file changed, 7 insertions(+)
2008-11-04 18:31:07 +00:00
Yann E. MORIN"
51f267ee00 Build target GMP and MPFR prior to target binutils:
- binutils can use GMP and MPFR if available, so invert the build order to later make use of GMP and MPFR on the target.

 /trunk/steps.mk |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-04 18:28:56 +00:00
Yann E. MORIN"
70a0eeedc2 Merge #1190 from /devel/YEM-build_host_target_cleanup:
- Use shell wrappers to point to the build tools, rather than symlinks.

 /trunk/scripts/crosstool.sh |   20    14     6     0 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
2008-11-04 16:30:11 +00:00
Yann E. MORIN"
37f8116867 Add a bare-metal ARM EABI sample.
/trunk/samples/armeb-unknown-eabi/crosstool.config |  241   241     0     0 ++++++++++++++++++++++++++++
 /trunk/samples/armeb-unknown-eabi/reported.by      |    3     3     0     0 +
 2 files changed, 244 insertions(+)
2008-11-04 16:14:55 +00:00
Yann E. MORIN"
3b35459c76 Add a bare-metal MIPS sample.
/trunk/samples/mips-unknown-elf/crosstool.config |  239   239     0     0 ++++++++++++++++++++++++++++++
 /trunk/samples/mips-unknown-elf/reported.by      |    3     3     0     0 +
 2 files changed, 242 insertions(+)
2008-11-02 11:46:36 +00:00
Yann E. MORIN"
47112bebdd Unmark bare-metal being EXPERIMENTAL.
/trunk/config/kernel/bare-metal.in |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-11-01 18:30:19 +00:00
Yann E. MORIN"
a143467477 Enable uClibc parallel build for those versions supporting it.
/trunk/scripts/build/libc/uClibc.sh |   12     7     5     0 +++++++-----
 /trunk/config/libc/uClibc.in        |    9     9     0     0 +++++++++
 2 files changed, 16 insertions(+), 5 deletions(-)
2008-11-01 17:16:34 +00:00
Yann E. MORIN"
958855acea Enablelocales when requested to do so.
Original patch by Thomas PETAZZONI, with soe improvement by myself.

 /trunk/scripts/build/libc/uClibc.sh |   10     9     1     0 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
2008-11-01 17:13:54 +00:00
Yann E. MORIN"
dde482bd0d Only install headers when installing uClibc headers.
/trunk/scripts/build/libc/uClibc.sh |   10     5     5     0 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2008-11-01 17:02:48 +00:00
Yann E. MORIN"
9c5fd0d3af Eyecandy in the WiKi table.
/trunk/scripts/showSamples.sh |   20    12     8     0 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
2008-11-01 16:49:00 +00:00
Yann E. MORIN"
ea9b9ea07b Remove regtest actions, introduce build-all actions:
- regtest was not easy to use
- one may wish to simply build all samples
- introduce a per-sample automatic build

 /trunk/docs/overview.txt  |   19    14     5     0 ++++++++---
 /trunk/samples/samples.mk |   92    49    43     0 ++++++++++++++++++++++++++++-------------------------
 /trunk/ct-ng.comp         |    8     5     3     0 +++--
 3 files changed, 68 insertions(+), 51 deletions(-)
2008-10-31 18:31:01 +00:00
Yann E. MORIN"
eb0d243d03 Update help (mostly eye-candy).
/trunk/ct-ng.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-31 18:29:15 +00:00
Yann E. MORIN"
a86bd90cbb Indent the samples list.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-31 18:28:12 +00:00
Yann E. MORIN"
6bfe4b1550 Transform LAN_MIRROR into plain MIRROR:
- it does not have to be in the LAN
- offer mirror preference over upstream
  - if selected, the mirror will be scanned before upstream servers
  - if not selected, upstream servers will be scanned before the mirror
- I've set up such an internet-accessible mirror
  - uClibc snapshot available
  - MPFR releases available (the MPFR site is down from time to time)
- update all samples to use my mirror as a failover

 /trunk/scripts/functions                                          |   45    16    29     0 +++++--------
 /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config          |    8     7     1     0 ++
 /trunk/samples/sh4-unknown-linux-gnu/crosstool.config             |    8     7     1     0 ++
 /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config        |    8     7     1     0 ++
 /trunk/samples/arm-unknown-elf/crosstool.config                   |    8     7     1     0 ++
 /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config         |    8     7     1     0 ++
 /trunk/samples/ia64-unknown-linux-gnu/crosstool.config            |    8     7     1     0 ++
 /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config       |    8     7     1     0 ++
 /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config       |    8     7     1     0 ++
 /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config       |    8     7     1     0 ++
 /trunk/samples/i686-nptl-linux-gnu/crosstool.config               |    8     7     1     0 ++
 /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config         |    8     7     1     0 ++
 /trunk/samples/arm-unknown-linux-gnu/crosstool.config             |    8     7     1     0 ++
 /trunk/samples/mips-unknown-linux-uclibc/crosstool.config         |    8     7     1     0 ++
 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config   |    8     7     1     0 ++
 /trunk/samples/armeb-unknown-linux-gnu/crosstool.config           |    8     7     1     0 ++
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config   |    8     7     1     0 ++
 /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config      |    8     7     1     0 ++
 /trunk/samples/arm-unknown-linux-uclibc/crosstool.config          |    8     7     1     0 ++
 /trunk/samples/i586-geode-linux-uclibc/crosstool.config           |    8     7     1     0 ++
 /trunk/samples/powerpc-405-linux-gnu/crosstool.config             |    8     7     1     0 ++
 /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config |    8     7     1     0 ++
 /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config          |    8     7     1     0 ++
 /trunk/samples/arm-unknown-eabi/crosstool.config                  |    8     7     1     0 ++
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config       |    8     7     1     0 ++
 /trunk/samples/powerpc-860-linux-gnu/crosstool.config             |    8     7     1     0 ++
 /trunk/config/global/download.in                                  |   42    25    17     0 +++++++-----
 27 files changed, 216 insertions(+), 71 deletions(-)
2008-10-31 18:27:27 +00:00
Yann E. MORIN"
ef2e479e1d Add a "NOTE" in the proxy settings help, telling it might not cover all possible proxy configurations.
/trunk/config/global/download.in |    4     4     0     0 ++++
 1 file changed, 4 insertions(+)
2008-10-31 12:46:59 +00:00
Yann E. MORIN"
84ba331620 Typo.
/trunk/samples/i686-nptl-linux-gnu/reported.by |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-30 13:14:39 +00:00
Yann E. MORIN"
5d3a887d98 Update this x86_64 sample.
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config |  166    93    73     0 ++++++++++++----------
 /trunk/samples/x86_64-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 94 insertions(+), 73 deletions(-)
2008-10-30 09:42:07 +00:00
Yann E. MORIN"
645615a804 Update this ARM sample.
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config |  150    77    73     0 ++++++++++----------
 /trunk/samples/armeb-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 80 insertions(+), 73 deletions(-)
2008-10-30 06:49:06 +00:00
Yann E. MORIN"
a5bbab574f Use 'gawk', not plain 'awk'.
We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'.
Be a little mre verbose if a tool was not found.

 /trunk/configure                     |    7     4     3     0 ++++---
 /trunk/scripts/build/kernel/linux.sh |    2     1     1     0 +-
 /trunk/scripts/functions             |   16     8     8     0 ++++++++--------
 /trunk/scripts/saveSample.sh         |    4     2     2     0 ++--
 4 files changed, 15 insertions(+), 14 deletions(-)
2008-10-29 22:27:30 +00:00
Yann E. MORIN"
d31396bc23 Finally enable the PPC-8xx memset workaround, by Nye Liu.
http://sourceware.org/ml/crossgcc/2008-10/msg00094.html

 /trunk/scripts/build/libc/glibc.sh                          |    9     9     0     0 +
 /trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch |   22    19     3     0 +
 /trunk/samples/powerpc-860-linux-gnu/crosstool.config       |  344   344     0     0 +++++++++++++++++++
 /trunk/samples/powerpc-860-linux-gnu/reported.by            |    3     3     0     0 +
 4 files changed, 375 insertions(+), 3 deletions(-)
2008-10-29 21:20:23 +00:00
Yann E. MORIN"
2730c0b494 Move steps-related help into steps.mk.
/trunk/steps.mk |    4     4     0     0 ++++
 /trunk/ct-ng.in |    2     0     2     0 --
 2 files changed, 4 insertions(+), 2 deletions(-)
2008-10-29 18:34:14 +00:00
Yann E. MORIN"
8cda25336c There is no EXPERIMENTAL feature in this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |   11     3     8     0 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
2008-10-29 13:40:17 +00:00
Yann E. MORIN"
e17bd17184 Update this w86_64 sample.
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config |  155    84    71     0 ++++++++++---------
 /trunk/samples/x86_64-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 87 insertions(+), 71 deletions(-)
2008-10-29 13:35:44 +00:00
Yann E. MORIN"
fa4c744742 Update this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-10-29 12:19:34 +00:00
Yann E. MORIN"
04affa84d0 Update this powerpc sample.
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config |  166    91    75     0 ++++++++-------
 /trunk/samples/powerpc-unknown_nofpu-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 92 insertions(+), 75 deletions(-)
2008-10-29 10:44:20 +00:00
Yann E. MORIN"
993eeb9f8f Use $(MAKE) for recursive calls, don't directly use $(CT_NG).
Pass on the V variable on the $(MAKE) command lines.

 /trunk/steps.mk |    6     3     3     0 +++---
 /trunk/ct-ng.in |    2     1     1     0 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
2008-10-29 10:31:15 +00:00
Yann E. MORIN"
9c2b2a91f7 Update this powerpc sample.
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config |  104    50    54     0 +++++++++---------
 /trunk/samples/powerpc-unknown-linux-uclibc/reported.by      |    2     2     0     0 +
 2 files changed, 52 insertions(+), 54 deletions(-)
2008-10-29 09:42:52 +00:00
Yann E. MORIN"
ca905573f3 Also export the V value to sub-makes.
/trunk/ct-ng.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-28 21:47:12 +00:00
Yann E. MORIN"
5c48279f0f Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.
This helps those who want to relocate their toolchains later.
Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html

 /trunk/scripts/build/cc/gcc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-28 18:51:44 +00:00
Yann E. MORIN"
e54606d1e5 Update this powerpc sample.
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config |  161    84    77     0 +++++++++++----------
 /trunk/samples/powerpc-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 85 insertions(+), 77 deletions(-)
2008-10-28 15:07:28 +00:00
Yann E. MORIN"
dfbe870dbe Update this powerpc sample.
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config |   20    12     8     0 +++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
2008-10-28 14:06:51 +00:00
Yann E. MORIN"
1d36c322bb Fix building with newer gcc that have the 'fix-include' /feature/.
/trunk/patches/glibc/2.3.6/290-gcc-4.3-include.patch |   40    40     0     0 ++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
2008-10-28 09:46:48 +00:00
Yann E. MORIN"
34e7f335fc Update this MIPS sample.
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config |  160    83    77     0 +++++++++++-----------
 /trunk/samples/mipsel-unknown-linux-gnu/reported.by      |    1     1     0     0 +
 2 files changed, 84 insertions(+), 77 deletions(-)
2008-10-27 19:12:40 +00:00
Yann E. MORIN"
6bad5c1002 Don't use libelf in MIPS samples: it is not used as ltrace is not available for MIPS.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |    9     4     5     0 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
2008-10-27 18:46:04 +00:00
Yann E. MORIN"
b476443822 Enhance the make fragments:
- comment the different parts
- re-order the code so that it is homogeneous amogst fragments
- eye-candy in some existing comments

 /trunk/tools/tools.mk     |   17    15     2     0 +++++++++++++++--
 /trunk/steps.mk           |   38    26    12     0 ++++++++++++++++++++++++++------------
 /trunk/samples/samples.mk |   41    28    13     0 ++++++++++++++++++++++++++++-------------
 /trunk/config/config.mk   |    2     1     1     0 +-
 4 files changed, 70 insertions(+), 28 deletions(-)
2008-10-27 18:42:26 +00:00
Yann E. MORIN"
84fe3f42e2 Add 'help' in the auto-completion.
/trunk/ct-ng.comp |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:39:24 +00:00
Yann E. MORIN"
4f59e67c4d Typo.
/trunk/scripts/showSamples.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:19:08 +00:00
Yann E. MORIN"
b4fcf60350 Update this MIPS sample.
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config |  141    74    67     0 +++++++++++++++--------------
 /trunk/samples/mips-unknown-linux-uclibc/reported.by      |    3     3     0     0 +
 2 files changed, 77 insertions(+), 67 deletions(-)
2008-10-27 18:17:16 +00:00
Yann E. MORIN"
46f8e7ba90 Really, don't do DEBUG in samples.
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config       |    5     1     4     0 +----
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
2008-10-27 17:03:01 +00:00
Yann E. MORIN"
a1630bfc9b Don't do DEBUG in samples.
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |    5     1     4     0 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
2008-10-27 16:53:40 +00:00