Commit Graph

856 Commits

Author SHA1 Message Date
Yann E. MORIN"
1fa683894f populate:
- add an option to force installation of listed libraries,
 - add an option to read a file listing libraries of which to force installation.

 /trunk/tools/populate.in |  126   104    22     0 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 104 insertions(+), 22 deletions(-)
2008-10-08 11:57:03 +00:00
Yann E. MORIN"
93c2e1f7fb Install the config script following the naming of other files, eg. "${CT_TARGET}-" instead of "${CT_TARGET}." .
/trunk/scripts/crosstool.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-06 21:23:31 +00:00
Yann E. MORIN"
91147b5d18 Typoes.
/trunk/README           |    2     1     1     0 +-
 /trunk/config/kernel.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-10-06 20:13:05 +00:00
Yann E. MORIN"
96be1c7bb9 Remove lingering architecture config directories now they are useless. 2008-10-06 19:58:01 +00:00
Yann E. MORIN"
b8d189b296 Separate the architecture config file and function script.
/trunk/kconfig/kconfig.mk   |   46    23    23     0 +++++++++++++++++++++++-----------------------
 /trunk/scripts/crosstool.sh |    2     1     1     0 +-
 /trunk/docs/overview.txt    |   28    11    17     0 +++++++++++-----------------
 3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-05 15:32:00 +00:00
Yann E. MORIN"
689f4b103c Add the latest GMP and MPFR versions.
/trunk/config/gmp_mpfr/gmp.in  |    5     5     0     0 +++++
 /trunk/config/gmp_mpfr/mpfr.in |    5     5     0     0 +++++
 2 files changed, 10 insertions(+)
2008-10-05 12:32:42 +00:00
Yann E. MORIN"
229aa8fe54 Update the internals documentation, adding the kernel API.
Update the internals architecture documentation.

 /trunk/docs/overview.txt |   75    67     8     0 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 67 insertions(+), 8 deletions(-)
2008-10-03 20:00:36 +00:00
Yann E. MORIN"
dcb7ca29ba Fourth shot at moving arch/ into config/arch/ .
/trunk/scripts/crosstool.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-03 13:01:10 +00:00
Yann E. MORIN"
67b3e099c5 Third shot at moving arch/ into config/ .
/trunk/Makefile.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-03 12:45:37 +00:00
Yann E. MORIN"
50ea3b751d Second shot at moving arch/ into config/arch/ . 2008-10-03 12:30:58 +00:00
Yann E. MORIN"
601ec482e1 First shot at moving arch/ into config/arch/ .
/trunk/kconfig/kconfig.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-03 12:30:29 +00:00
Yann E. MORIN"
02e8d1f0b4 extract-config.sh no longer exists, don't advertise it.
/trunk/config/global/logging.in |    3     0     3     0 ---
 1 file changed, 3 deletions(-)
2008-10-02 13:04:21 +00:00
Yann E. MORIN"
744401bc0e No need for this script now the config is tored in its own file. 2008-10-02 12:55:09 +00:00
Yann E. MORIN"
16c6cc994f Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
 - introduce a skeleton for the config script,
 - update auto-completion,
 - document the config script.

 /trunk/kconfig/kconfig.mk        |    9     2     7     0 ++-------
 /trunk/scripts/crosstool.sh      |    6     5     1     0 +++++-
 /trunk/docs/overview.txt         |   21     9    12     0 +++++++++------------
 /trunk/tools/toolchain-config.in |    8     8     0     0 ++++++++
 /trunk/ct-ng.comp                |    2     1     1     0 +-
 5 files changed, 25 insertions(+), 21 deletions(-)
2008-10-01 18:10:40 +00:00
Yann E. MORIN"
c7f3478a10 Update the PowerPC+uClibc sample.
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config |  150    87    63     0 ++++++++++--------
 1 file changed, 87 insertions(+), 63 deletions(-)
2008-09-30 18:19:48 +00:00
Yann E. MORIN"
6731142c39 Better handle the second pass core gcc build, differentiating between gcc prior to 4.3 with gcc from 4.3.
Simplify detecting wether gcc is 4.3 and later, or older than 4.3 (we already know from .config).

 /trunk/scripts/build/cc/gcc.sh |   22    13     9     0 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
2008-09-30 18:19:18 +00:00
Yann E. MORIN"
8b1e61df9d Rework the way EXPERIMENTAL architecture are marked as such, the same way kernels are handeld.
Fix marking EXPERIMENTAL kernel when using --prefix.

 /trunk/kconfig/kconfig.mk  |   44    22    22     0 ++++++++++++++++++++++----------------------
 /trunk/arch/ia64/config.in |    1     1     0     0 +
 /trunk/arch/sh/config.in   |    1     1     0     0 +
 3 files changed, 24 insertions(+), 22 deletions(-)
2008-09-29 20:51:16 +00:00
Yann E. MORIN"
cce0841d96 Rework the way EXPERIMENTAL kernels are marked as such.
/trunk/kconfig/kconfig.mk          |   51    25    26     0 ++++++++++++++++++++++----------------------
 /trunk/docs/overview.txt           |   47    47     0     0 +++++++++++++++++++++++++++++++++++++++++
 /trunk/config/kernel/bare-metal.in |    1     1     0     0 +
 3 files changed, 73 insertions(+), 26 deletions(-)
2008-09-29 20:19:45 +00:00
Yann E. MORIN"
fa3f4b4f05 The IA64 sample builds again! :-)
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config |  140    80    60     0 ++++++++++++++----------
 1 file changed, 80 insertions(+), 60 deletions(-)
2008-09-29 18:16:03 +00:00
Yann E. MORIN"
7052f2834c Update the Alpha sample.
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  137    74    63     0 ++++++++++---------
 1 file changed, 74 insertions(+), 63 deletions(-)
2008-09-29 17:15:13 +00:00
Yann E. MORIN"
47221dfa6a Restore the ability to build gcc older than 4.3. At last!
/trunk/scripts/build/cc/gcc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-29 12:02:47 +00:00
Yann E. MORIN"
eb14e45ecb Don't check for autoconf >= 2.50.
It was needed by glibc and eglibc to re-generate their 'configure' files, but they no longer do (in fact never did).

 /trunk/configure |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-09-29 11:08:33 +00:00
Yann E. MORIN"
8cf6201cbd Had a new known issue: ccache will break the build because we're sym-linking to have our own compiler for host and build systems, but that screws up ccache finding the real compiler.
There is no fix, so the only way to inform the users is to document it: remove ccache.

 /trunk/docs/known-issues.txt |   25    21     4     0 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
2008-09-28 21:35:44 +00:00
Yann E. MORIN"
b000bc94cd In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
They are nonetheless in sync and need not be regenerated.
Fix that by touching the files to have 'make' believe they are up-to-date (which they are).

 /trunk/scripts/build/libc/glibc.sh  |    5     5     0     0 +++++
 /trunk/scripts/build/libc/eglibc.sh |    7     6     1     0 ++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
2008-09-28 21:34:11 +00:00
Yann E. MORIN"
5e2ecc71c6 Move around the BARE_METAL config entry outside of the bare metal /kernel/ entry: there might be different setups that causes a bare metal compiler.
/trunk/config/kernel/bare-metal.experimental.in |   12     4     8     0 ++++--------
 /trunk/config/kernel.in                         |    6     6     0     0 ++++++
 2 files changed, 10 insertions(+), 8 deletions(-)
2008-09-28 21:31:13 +00:00
Yann E. MORIN"
5fce423912 This PowerPC sample has been updated to use gcc-4.3.2.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   10     6     4     0 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
2008-09-28 21:30:16 +00:00
Yann E. MORIN"
fc53c7be3e Remove gcc-4.3.2 dependency on EXPERIMENTAL.
/trunk/config/cc/gcc.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-28 18:09:23 +00:00
Yann E. MORIN"
3b236feecd The first sample to use gcc-4.3.2.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |    9     5     4     0 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
2008-09-28 18:08:08 +00:00
Yann E. MORIN"
472756d364 Don't remove files that are no longer generated whne cleaning in kconfig/ .
/trunk/kconfig/kconfig.mk |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-09-28 10:35:55 +00:00
Yann E. MORIN"
8b2aad9f00 Simplify conf and mconf generation. We don't care for the _shipped stuff.
/trunk/kconfig/kconfig.mk |    4     0     4     0 ----
 1 file changed, 4 deletions(-)
2008-09-28 10:33:30 +00:00
Yann E. MORIN"
0460d997cc Fix generated debug.in and tools.in (xlcwu <xlcwu.taiwan@gmail.com>).
Some cosmetics at the same time.

 /trunk/kconfig/kconfig.mk |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-28 08:14:33 +00:00
Yann E. MORIN"
b012bb9f39 Enhance ./configure tools checking.
Add check for compatible autoconf.

 /trunk/configure |   95    61    34     0 ++++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 61 insertions(+), 34 deletions(-)
2008-09-26 11:31:23 +00:00
Yann E. MORIN"
954d7c295c Update the sstrip help entries. Courtesy "Joachim Nilsson" <joachim.nilsson@vmlinux.org>.
/trunk/config/tools/sstrip.in |    9     5     4     0 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)
2008-09-25 21:49:17 +00:00
Yann E. MORIN"
664c2d0100 Add latest gcc-4.3.2 as EXPERIMENTAL, using the 4.3.1 re-based patchset.
/trunk/config/cc/gcc.in                                          |    7     7     0     0 ++
 /trunk/patches/gcc/4.3.2/280-c99-complex-ugly-hack.patch         |    8     4     4     0 +-
 /trunk/patches/gcc/4.3.2/250-sh-pr24836.patch                    |   16     8     8     0 ++--
 /trunk/patches/gcc/4.3.2/340-make-mno-spe-work-as-expected.patch |   43    19    24     0 ++++++--------
 /trunk/patches/gcc/4.3.2/130-cross-compile.patch                 |   20    10    10     0 +++---
 5 files changed, 48 insertions(+), 46 deletions(-)
2008-09-25 16:06:19 +00:00
Yann E. MORIN"
92eab97dcf Update this ARM sample.
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config |  131    70    61     0 +++++++++++----------
 1 file changed, 70 insertions(+), 61 deletions(-)
2008-09-23 17:37:12 +00:00
Yann E. MORIN"
6c54fde8fd Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.

 /trunk/scripts/build/libc/glibc.sh |   14     2    12     0 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
2008-09-23 14:48:10 +00:00
Yann E. MORIN"
d5dd879b63 Update the PowerPC SPE samle:
- don't DEBUG crosstool-NG and don't save intermediate steps
 - use released version of binutils rather than snapshots.

 /trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |   17     8     9     0 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
2008-09-23 07:28:20 +00:00
Yann E. MORIN"
56ed53c70f Allow fully qulified file name in tools to check for.
Simplify checking for bash.

 /trunk/configure |   30    13    17     0 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
2008-09-23 07:15:06 +00:00
Yann E. MORIN"
2b152b1839 Udate the PowerPC SPE sample.
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config |  153    81    72     0 ++++++++++--------
 1 file changed, 81 insertions(+), 72 deletions(-)
2008-09-23 05:20:08 +00:00
Yann E. MORIN"
69dc5197af Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are installed (such as Debian).
/trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch |   78    78     0     0 ++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
2008-09-22 22:01:43 +00:00
Yann E. MORIN"
8935b10421 Rework the eglibc download so as to be a little bit saner.
/trunk/scripts/build/libc/eglibc.sh |   25    15    10     0 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)
2008-09-22 19:51:29 +00:00
Yann E. MORIN"
2d87a35831 Add binutils-2.18.50.0.9.
Add a patch to binutils to not use '/' as a comment separator on i386 assembly when targeting bare metal (breaks linux kernel build).

 /trunk/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.14/110-i386-no-divide-comment.patch        |   38    38     0     0 ++++++
 /trunk/patches/binutils/2.14/270-i386-no-divide-comment.patch        |   38    38     0     0 ++++++
 /trunk/patches/binutils/2.16.1/160-i386-no-divide-comment.patch      |   40    40     0     0 ++++++
 /trunk/patches/binutils/2.17/210-i386-no-divide-comment.patch        |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18/120-i386-no-divide-comment.patch        |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/config/binutils.in                                            |    6     6     0     0 +
 11 files changed, 570 insertions(+)
2008-09-22 12:09:19 +00:00
Yann E. MORIN"
c0cc140a6f Move snapshots version after numbered versions (aka releases).
/trunk/config/debug/gdb.in   |   13     7     6     0 +++++++------
 /trunk/config/libc/glibc.in  |   21    11    10     0 +++++++++++----------
 /trunk/config/libc/uClibc.in |   21    11    10     0 +++++++++++----------
 /trunk/config/libc/eglibc.in |   13     7     6     0 +++++++------
 4 files changed, 36 insertions(+), 32 deletions(-)
2008-09-18 09:22:25 +00:00
Yann E. MORIN"
c36b921790 Generate the kernel config choice, rather than having it hard-coded:
- change the menu label from 'Target OS' to 'Operating System',
  - bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
  - update the kconfig.mk to generate the kernel choice entries,
  - update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.

 /trunk/kconfig/kconfig.mk                       |  117    81    36     0 +++++++++++++++++++++----------
 /trunk/config/kernel/linux.in                   |    4     4     0     0 +
 /trunk/config/kernel/bare-metal.experimental.in |   15    15     0     0 ++++
 /trunk/config/kernel.in                         |   33     5    28     0 +--------
 /trunk/config/libc/glibc-eglibc-common.in       |    4     2     2     0
 5 files changed, 107 insertions(+), 66 deletions(-)
2008-09-16 17:39:40 +00:00
Yann E. MORIN"
59b1a0929d Don't advertise 'xconfig' as a config rule.
/trunk/kconfig/conf.c |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-16 14:32:07 +00:00
Yann E. MORIN"
3e527cffc3 Fix architecture config file make rules.
/trunk/kconfig/kconfig.mk |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15 21:03:24 +00:00
Yann E. MORIN"
b6a8c7318d Move all the Linux kernel config options to a single file (to ease supporting more than one kernel).
Rename some Linux kernel config options (ditto).
Update the addToolsVersion.sh script.

 /trunk/scripts/build/kernel/linux.sh |   13     6     7     0 +--
 /trunk/tools/addToolVersion.sh       |  105    37    68     0 +++++++--------------
 /trunk/config/kernel/linux.in        |  211   189    22     0 ++++++++++++++++++++++++++++++++++++++----
 3 files changed, 232 insertions(+), 97 deletions(-)
2008-09-15 14:52:29 +00:00
Yann E. MORIN"
070411306a DUMA: don't log twice through the logger.
/trunk/scripts/build/debug/100-dmalloc.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15 14:41:09 +00:00
Yann E. MORIN"
48c1e77819 Code-reorder in the Linux kernel config options.
/trunk/config/kernel/linux.in |   32    15    17     0 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)
2008-09-15 12:08:01 +00:00
Yann E. MORIN"
46bd8b45c7 The Linux kernel does not need a config file now that the old methods are removed.
So, don't save the Linux kernel config file when saving a sample, there will never be such a file any longer.

 /trunk/scripts/saveSample.sh |   13     0    13     0 -------------
 1 file changed, 13 deletions(-)
2008-09-15 09:51:10 +00:00