Commit Graph

122 Commits

Author SHA1 Message Date
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"
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"
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"
1c625d676c Push the calculation of the tuple's kernel part down to kernel's build scripts:
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test

 /trunk/scripts/build/kernel/bare-metal.sh |    5     5     0     0 +++++
 /trunk/scripts/build/kernel/linux.sh      |    5     5     0     0 +++++
 /trunk/scripts/crosstool.sh               |   31    13    18     0 +++++++++++++------------------
 /trunk/scripts/functions                  |   15     8     7     0 ++++++++-------
 /trunk/docs/overview.txt                  |   13     9     4     0 +++++++++----
 5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23 13:45:48 +00:00
Yann E. MORIN"
4a1f2bf705 Remove CT_BROKEN.
Only one component is actually BROKEN (libelf), make it depend on EXPERIMENTAL, but state BROKEN in the prompt.
ltrace (which depends on libelf) is now marked as EXPERIMENTAL, with the reference to the BROKEN libelf in the help entry.

 /trunk/docs/overview.txt          |    6     0     6     0 ------
 /trunk/config/debug/ltrace.in     |    7     4     3     0 ++++---
 /trunk/config/global/ct-behave.in |    8     0     8     0 --------
 /trunk/config/tools/libelf.in     |    5     3     2     0 +++--
 4 files changed, 7 insertions(+), 19 deletions(-)
2008-10-09 19:17:49 +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"
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"
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"
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"
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"
b1459a8862 Update docs/overview.txt with the script shell fragment that defines bash completion.
/trunk/docs/overview.txt |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2008-09-05 10:57:06 +00:00
Yann E. MORIN"
59ef10f5d6 Merge the branches/eglibc stuff:
- Add support for eglibc

 /trunk/scripts/functions  |    6     4     2     0 ++++--
 /trunk/docs/CREDITS       |    1     1     0     0 +
 /trunk/config/libc.in     |   12    12     0     0 ++++++++++++
 /trunk/arch/arm/functions |    4     2     2     0 ++--
 4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11 12:22:47 +00:00
Yann E. MORIN"
e5f035b556 Update the knwon issues with the broekn build of seemingly-native toolchains.
/trunk/docs/known-issues.txt |   59    59     0     0 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
2008-08-08 07:07:16 +00:00
Yann E. MORIN"
9382ba4cda Update the known issues: empty the file prior to adding new ones.
/trunk/docs/known-issues.txt |    7     0     7     0 -------
 1 file changed, 7 deletions(-)
2008-08-07 21:33:09 +00:00
Yann E. MORIN"
ef0f400c26 Introduce four new ARCH specific variables that CT_DoArchValues can set if they want:
- CT_ARCH_CC_CORE_EXTRA_CONFIG
  - CT_ARCH_CC_EXTRA_CONFIG
  - CT_ARCH_TARGET_CLFAGS
  - CT_ARCH_TARGET_LDFLAGS
This will hopefully enable architectures to specify specific flags.
PowerPC will need them to introduce SPE (coming RSN).

 /trunk/scripts/crosstool.sh |    2     2     0     0 ++
 /trunk/scripts/functions    |    4     2     2     0 ++--
 /trunk/docs/overview.txt    |   45    22    23     0 ++++++++++++++++++++++-----------------------
 /trunk/config/target.in     |   10    10     0     0 ++++++++++
 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07 15:18:18 +00:00
Yann E. MORIN"
5e1a779f78 Update CREDITS.
/trunk/docs/CREDITS |    4     4     0     0 ++++
 1 file changed, 4 insertions(+)
2008-07-27 16:52:53 +00:00
Yann E. MORIN"
69c2df0e18 Update CREDITS.
Eye-candy on overview.txt.

 /trunk/docs/overview.txt |    4     2     2     0 ++--
 /trunk/docs/CREDITS      |    1     1     0     0 +
 2 files changed, 3 insertions(+), 2 deletions(-)
2008-07-20 16:59:04 +00:00
Yann E. MORIN"
e30048ee15 Update the list of known issues.
/trunk/docs/known-issues.txt |   13     0    13     0 -------------
 1 file changed, 13 deletions(-)
2008-07-15 17:47:51 +00:00
Yann E. MORIN"
4b7c2e32ac Update the architecture API: architecture help is mandatory.
Update all architectures (some with pointer to the specs, when available).

 /trunk/docs/overview.txt      |    8     8     0     0 ++++++++
 /trunk/arch/arm/config.in     |    3     3     0     0 +++
 /trunk/arch/powerpc/config.in |    3     3     0     0 +++
 /trunk/arch/ia64/config.in    |    3     3     0     0 +++
 /trunk/arch/alpha/config.in   |    2     2     0     0 ++
 /trunk/arch/x86/config.in     |    3     3     0     0 +++
 /trunk/arch/mips/config.in    |    3     3     0     0 +++
 /trunk/arch/sh/config.in      |    3     3     0     0 +++
 /trunk/arch/x86_64/config.in  |    3     3     0     0 +++
 9 files changed, 31 insertions(+)
2008-06-27 14:55:22 +00:00
Yann E. MORIN"
62744e84e7 Autogenerate the architecture selection choice menu.
Update architectures definition files accordingly.
Update documentation accordingly.
Use makefile syntax when listing arch/, tools/ and debug/ config files.

 /trunk/kconfig/kconfig.mk     |   32    29     3     0 +++++++++++++++--
 /trunk/docs/overview.txt      |   75    67     8     0 +++++++++++++++++++++++++++++++++++----
 /trunk/config/target.in       |   94    16    78     0 ++++++++-----------------------------------------
 /trunk/arch/arm/config.in     |    6     5     1     0 +++
 /trunk/arch/powerpc/config.in |    2     2     0     0 +
 /trunk/arch/ia64/config.in    |    4     4     0     0 ++
 /trunk/arch/alpha/config.in   |    2     1     1     0
 /trunk/arch/x86/config.in     |    3     3     0     0 ++
 /trunk/arch/mips/config.in    |    5     5     0     0 +++
 /trunk/arch/sh/config.in      |    4     3     1     0 ++
 /trunk/arch/x86_64/config.in  |    3     3     0     0 ++
 11 files changed, 138 insertions(+), 92 deletions(-)
2008-06-27 13:58:53 +00:00
Yann E. MORIN"
1b6adf776f Update documentation.
/trunk/docs/overview.txt |   37    27    10     0 +++++++++++++++++++++++++++----------
 /trunk/docs/ct-ng.1.in   |   18     1    17     0 +-----------------
 2 files changed, 28 insertions(+), 27 deletions(-)
2008-06-25 14:06:49 +00:00
Yann E. MORIN"
5fcaf8b3ff Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.
/trunk/docs/CREDITS                                         |    3     3     0     0 +
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config |  282   282     0     0 +++++++++++++++++++
 /trunk/config/target.in                                     |    9     9     0     0 +
 /trunk/arch/alpha/functions                                 |    9     9     0     0 +
 /trunk/arch/alpha/config.in                                 |   58    58     0     0 ++++
 5 files changed, 361 insertions(+)
2008-06-14 20:57:57 +00:00
Yann E. MORIN"
9d8b0a6829 Rework a little bit the steps and samples help entries.
/trunk/docs/overview.txt  |    2     1     1     0 +-
 /trunk/steps.mk           |    7     5     2     0 +++++--
 /trunk/samples/samples.mk |    8     5     3     0 +++++---
 /trunk/ct-ng.in           |    5     3     2     0 +++--
 4 files changed, 14 insertions(+), 8 deletions(-)
2008-06-01 21:12:00 +00:00
Yann E. MORIN"
a398f38872 Update the list of known issues.
/trunk/docs/known-issues.txt |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2008-05-26 20:28:11 +00:00
Yann E. MORIN"
db55511ac2 PowerPC support by Daniel Dittmann.
/trunk/docs/CREDITS           |    3     3     0     0 +++
 /trunk/config/target.in       |    8     8     0     0 ++++++++
 /trunk/arch/powerpc/functions |    9     9     0     0 +++++++++
 /trunk/arch/powerpc/config.in |    1     1     0     0 +
 4 files changed, 21 insertions(+)
2008-05-18 20:50:13 +00:00
Yann E. MORIN"
2dd03634f1 Fix building glibc-2.6.1 and glibc-2.7 for ARM with recent kernels.
Patch by Matthias Kaehlcke <matthias@kaehlcke.net>.

 /trunk/patches/glibc/ports-2.6.1/200-ARM-asm_page_h.patch |   11    11     0     0 +++++++++++
 /trunk/patches/glibc/ports-2.7/100-ARM-asm_page_h.patch   |   11    11     0     0 +++++++++++
 /trunk/docs/CREDITS                                       |    3     3     0     0 +++
 3 files changed, 25 insertions(+)
2008-05-18 14:53:11 +00:00
Yann E. MORIN"
797a7537e4 Add a patch to the ageing glibc-2.3.6 to make it compile on stupid shells that have a defective implementation of echo.
Thanks to Willy Tarreau for pointing to the patch.

 /trunk/patches/glibc/2.3.6/250-csu-Makefile.patch |   39    39     0     0 +++++++++++++++++++++++++++++
 /trunk/docs/CREDITS                               |    4     4     0     0 +++
 2 files changed, 43 insertions(+)
2008-05-11 07:01:28 +00:00
Yann E. MORIN"
f29a7d4335 Better explain why populate exists.
New entry for how to add a new component version.
Some homogeneisation in style.

 /trunk/docs/overview.txt |   44    30    14     0 ++++++++++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 14 deletions(-)
2008-05-02 21:53:09 +00:00
Yann E. MORIN"
d4eaeab63a Update known issues with dmalloc failure.
/trunk/docs/known-issues.txt |   15    14     1     0 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
2008-05-02 16:48:01 +00:00
Yann E. MORIN"
3d96f4fb51 Add a file documenting known issues.
/trunk/docs/known-issues.txt |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-04-30 16:58:23 +00:00
Yann E. MORIN"
4e3f85be75 Document the contrib/ sub-directory.
Fixed the documentation for the arch-dpecific 'CT_DoArchValues' function.

 /trunk/docs/overview.txt |   20    13     7     0 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
2008-04-27 09:57:50 +00:00
Yann E. MORIN"
524ec3d73d Update patch to gdb. Thanks Khem RAJ <kraj@mvista.com>
patches/gdb/6.5/500-thread-timeout.patch |   13     6     7     0 ++++++-------
 docs/CREDITS                             |    3     3     0     0 +++
 2 files changed, 9 insertions(+), 7 deletions(-)
2008-04-13 18:03:28 +00:00
Yann E. MORIN"
5ff9c06cf3 - Rewrite some parts of history: some sentences could have been considered rude, which was not my intention.
- Fix a few typoes at the same time.
2008-02-20 22:48:35 +00:00
Robert P. J. DAY"
6399c577d5 Fix some obvious typoes in docs/overview.txt 2008-02-20 08:01:12 +00:00
Yann E. MORIN"
eb0ad87b2a Robert P. J. DAY says:
Add support for the selection of strace-4.5.16, including an updated
set of patches from strace-4.5.15.
2008-02-15 21:18:10 +00:00
Yann E. MORIN"
27a35f6d84 Add latest kernel versions (Robert P. J. DAY). 2008-02-14 22:42:37 +00:00
Yann E. MORIN"
a616d39de3 Credit Mark Jonas <toertel@gmail.com> for the initial work on Super-H support.
(I forgot to add you to the CREDITS at the time, sorry Mark).
2008-01-28 18:57:42 +00:00
Yann E. MORIN"
daca18fc0e Credit Michael Abbott. 2008-01-28 18:41:24 +00:00
Yann E. MORIN"
3f09a4d4c6 Further improve the architecture-specific framework.
Apply this framework into building of glibc and gcc.

(Whoo! 500th commit! Yeah!)
2007-09-15 21:44:18 +00:00
Yann E. MORIN"
672f596f8b Another little fix in the documentation. 2007-09-14 21:58:55 +00:00
Yann E. MORIN"
6069957d44 A little fix in the documentation. 2007-09-14 21:57:17 +00:00
Yann E. MORIN"
9501e62afa Further expand the architecture-specific function: add CT_KERNEL_ARCH building. 2007-09-14 21:50:30 +00:00
Yann E. MORIN"
693ceb85bc Update docs/CREDITS: ARM EABI support.
Update README: point at docs/CREDITS.
2007-09-14 21:41:00 +00:00
Yann E. MORIN"
60b0bb1bab Migrate all supported architectures to use the architecture-specific framework. 2007-09-14 21:17:59 +00:00
Yann E. MORIN"
26647ee564 Improve (POSIX-wise) determination of bashh version. 2007-09-14 19:30:56 +00:00
Yann E. MORIN"
8bbec81bc0 Update credits to give adequate credit to Al Stone. 2007-09-11 17:50:18 +00:00
Yann E. MORIN"
4369c3a9d8 Update CREDITS. 2007-09-01 16:40:11 +00:00
Yann E. MORIN"
09f0dcc66f Change "triplet" (target triplet) to "tuple". That sounds better!
Document overriding the number of // jobs.
Some small documentation fixes.
2007-08-15 16:18:35 +00:00
Yann E. MORIN"
8922b9cd7d Small typo fix. 2007-07-30 21:09:12 +00:00
Yann E. MORIN"
20e08ffa90 Fix the step shortcuts (using a dash would confuse make). 2007-07-30 19:35:39 +00:00
Yann E. MORIN"
f9b4691831 In overview.txt, document the two ways of using crosstool-NG: install and --local.
Fix some typos in overview.txt.
Document populate's options, still in overview.txt.
Credit the buildroot people for the patches I vampirise from time to time.
2007-07-24 21:51:24 +00:00
Yann E. MORIN"
8f9c1008d5 Fix a typo in CREDITS. 2007-07-22 21:31:04 +00:00
Yann E. MORIN"
ef660a90ce Move CREDITS to docs/
Be a bit verbose when restoring a sample.
2007-07-22 21:29:42 +00:00
Yann E. MORIN"
8c23854de2 Re-order and rework a bit docs/overview.txt. Plus a typo fix. 2007-07-17 21:49:43 +00:00
Yann E. MORIN"
d5db172ef4 Revisit the extract-config way of working: ct-ng is the sole entry point to crosstool-NG, and ct-ng.extrac-config no longer exists. You now have to call "ct-ng extractconfig </path/to/your/build.log" instead. 2007-07-17 21:44:33 +00:00
Yann E. MORIN"
0fc1e86aac Document CT_OBSOLETE, CT_EXPERIMENTAL and CT_BROKEN. 2007-07-13 14:25:06 +00:00
Yann E. MORIN"
f5e75095d0 Update man page to explictly point to overview.txt.
In overview.txt, document usage of the populate script.
2007-07-09 17:35:45 +00:00
Yann E. MORIN"
65919faa70 Update the overview documentation. 2007-07-04 17:37:48 +00:00
Yann E. MORIN"
9265403b8b Get rid of eclipse fiels once and for all.
Homogenise the references to crosstool-NG:
  - the project is named "crosstool-NG"
  - the front-end is named "ct-ng"
  - don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG")
Default action is to print help.
Don't speak of make rules when dumping help, just speak of actions.
2007-07-02 19:40:54 +00:00
Yann E. MORIN"
c84805249c Update docs/overview.txt to match the new way to call crosstool-ng: "ct-ng [action]" in lieu of "make [action]". 2007-07-02 17:47:17 +00:00
Yann E. MORIN"
26713d4210 Merge the build system to trunk: ct-ng is now installable:
- ./configure --prefix=/some/place
 - make
 - make install
 - export PATH="${PATH}:/some/place/bin"
 - ct-ng <action>
2007-07-01 19:04:20 +00:00
Yann E. MORIN"
c2abd16d69 Better handling of the steps lists:
- new make rulle: liststeps,
 - new help entry telling about liststeps,
 - update documentation accordingly.
2007-06-26 21:23:05 +00:00
Yann E. MORIN"
7746415b7d The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
Add an option to compress the log file upon successfull build.
Make rendering the toolchain read-only optional.
A few eye-candy fixes.
2007-06-17 14:51:37 +00:00
Yann E. MORIN"
ca5213a387 scripts/showSamples.sh:
- revert sample dumping to not show the components versions;

docs/overview.txt:
  - reorder docs/overview.txt so that configuring comes before running,
  - tell about regtest;

Makefile:
config/global.in:
  - point to docs/overview.txt for the list of steps;
2007-06-17 12:11:16 +00:00
Yann E. MORIN"
88b6a540e3 Revert revision 201: renaming the two cc_core passes was a bad idea. 2007-06-02 08:13:13 +00:00
Yann E. MORIN"
4d84cd7db1 Rename two steps to their real names:
- cc_core_pass_1 is really cc_core_static,
 - cc_core_pass_2 is really cc_core_shared.
2007-06-01 20:06:22 +00:00
Yann E. MORIN"
51554bf237 Introduce the notion of tols facilities (none so far, sstrip coming right away...). 2007-06-01 16:55:33 +00:00
Yann E. MORIN"
de5df0533c Merge the NPTL stuff.
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-27 20:22:06 +00:00
Yann E. MORIN"
266e38cc13 Add the possibility to stop after a specified step.
Update the Makefile help and the documentation accordingly.
2007-05-25 19:30:42 +00:00
Yann E. MORIN"
9d8cb8679b update the documentation somewhat. Still not complete, though... :-( 2007-05-13 21:11:54 +00:00
Yann E. MORIN"
8c5cfe649d Once in a while I write some documentation... Not often enough... 2007-04-17 22:22:46 +00:00
Yann E. MORIN"
1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00