Commit Graph

59 Commits

Author SHA1 Message Date
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"
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"
c570927ef3 Eye-candy when {,dist}clean.
/trunk/tools/tools.mk |    1     1     0     0 +
 /trunk/ct-ng.in       |   16    12     4     0 ++++++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)
2008-10-21 16:13:46 +00:00
Yann E. MORIN"
673f79427f Update config.guess.
/trunk/tools/config.guess |    7     5     2     0 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
2008-10-21 09:16:00 +00:00
Yann E. MORIN"
4e7d6836a5 Cheesy kconfig stuff:
- silent/quiet/verbose build:
   - ct-ng by default only prints quit messages, such as "CC xxx",
   - if using V=0, nothing is printed,
   - if using V=1, the full command lines are printed,
   - other values are indeterminate,
   - should help in debugging the kconfig stuff;
 - complete kconfig/{,m}conf generation:
   - fully dynamic dependencies on source files,
   - compilation of .c into .o, then linking (instead of direct linking),
   - VPATH usage when not --local;
Typo + a coment moved.

 /trunk/kconfig/kconfig.mk |  140    87    53     0 +++++++++++++++++++++++++++++++++--------------------
 /trunk/tools/tools.mk     |   12     6     6     0 ++--
 /trunk/steps.mk           |    6     3     3     0 +-
 /trunk/samples/samples.mk |   30    15    15     0 +++++-----
 /trunk/ct-ng.in           |   40    28    12     0 +++++++++++----
 5 files changed, 139 insertions(+), 89 deletions(-)
2008-10-15 21:29:56 +00:00
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"
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"
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"
21418e80d0 Update config.sub.
/trunk/tools/config.sub |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2008-09-11 09:02:00 +00:00
Yann E. MORIN"
72be420406 Fix extracting the configuration from a build log.
/trunk/tools/extract-config.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-25 21:41:52 +00:00
Yann E. MORIN"
ab682b5e47 Simplify populate: no need to be too smart.
If someone is playing us tricks, let him/her be beaten back.
Chances are he/she knows what happens when he/she finds out it does not work any more!

 /trunk/tools/populate.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07 22:34:32 +00:00
Yann E. MORIN"
87f4c2c63b Add a new tool to renumber a patch directory.
Eases maintenance when old patches are removed, or new patches added.

 /trunk/tools/patch-renumber.sh |   32    32     0     0 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
2008-08-04 12:09:54 +00:00
Yann E. MORIN"
379ea09dba Michael ABBOTT reported that populate is not relocatable.
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time.

 /trunk/configure            |    1     1     0     0 +
 /trunk/scripts/crosstool.sh |   14     6     8     0 ++++++--------
 /trunk/tools/populate.in    |    6     4     2     0 ++++--
 3 files changed, 11 insertions(+), 10 deletions(-)
2008-08-04 08:44:54 +00:00
Yann E. MORIN"
159635c7d6 It's been a long time that the gcc libraries are all installed in the sys-root.
Thus populate does not need to look above to find the libraries.

 /trunk/tools/populate.in |    9     3     6     0 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
2008-07-19 12:25:46 +00:00
Yann E. MORIN"
cec69cf1c1 Update config.sub.
/trunk/tools/config.sub |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2008-06-20 12:02:25 +00:00
Yann E. MORIN"
699b5723cc addToolVersion.sh: remove debug code.
/trunk/tools/addToolVersion.sh |    2     0     2     0 --
 1 file changed, 2 deletions(-)
2008-06-09 16:36:40 +00:00
Yann E. MORIN"
eab041d31a Fix addToolVersion.sh after breakage with support for gcc-4.3 (stupid anyway...).
/trunk/tools/addToolVersion.sh |   18    10     8     0 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
2008-06-09 16:35:21 +00:00
Yann E. MORIN"
929c368541 Add support for the up-coming gcc-4.3.
Two new config options: pkgversion and bugurl.

 /trunk/scripts/build/cc_gcc.sh |    4     3     1     0 +++-
 /trunk/tools/addToolVersion.sh |   20    16     4     0 ++++++++++++++++----
 /trunk/config/cc/gcc.in        |   24    24     0     0 ++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 5 deletions(-)
2008-06-09 16:14:23 +00:00
Yann E. MORIN"
0c4633c37f Get rid of all command (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.

 /trunk/scripts/build/tools/200-sstrip.sh  |   16     8     8     0 ++--
 /trunk/scripts/build/libc_glibc.sh        |   50    25    25     0 +++++++-------
 /trunk/scripts/build/libc_uClibc.sh       |    4     2     2     0
 /trunk/scripts/build/debug/100-dmalloc.sh |    2     1     1     0
 /trunk/scripts/build/debug/400-ltrace.sh  |    2     1     1     0
 /trunk/scripts/build/debug/300-gdb.sh     |    8     4     4     0 +-
 /trunk/scripts/build/debug/200-duma.sh    |    6     3     3     0 +-
 /trunk/scripts/build/kernel_linux.sh      |   30    15    15     0 ++++----
 /trunk/scripts/build/cc_gcc.sh            |   14     7     7     0 ++--
 /trunk/scripts/crosstool.sh               |   54    27    27     0 ++++++++--------
 /trunk/scripts/functions                  |  128    64    64     0 ++++++++++++++++++------------------
 /trunk/scripts/saveSample.sh              |    4     2     2     0
 /trunk/scripts/tarball.sh.broken          |   20    10    10     0 +++---
 /trunk/tools/addToolVersion.sh            |    8     4     4     0 +-
 /trunk/tools/populate.in                  |   18     9     9     0 ++--
 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-20 21:32:39 +00:00
Yann E. MORIN"
f89415dd83 Update tools/config.{guess,sub}.
/trunk/tools/config.guess |   38    24    14     0 ++++++++++++++++++++-----------
 /trunk/tools/config.sub   |   65    54    11     0 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 78 insertions(+), 25 deletions(-)
2008-05-08 15:37:21 +00:00
Yann E. MORIN"
15e06b96ef Update the URLs where to retrieve config.guess and config.sub from.
/trunk/tools/tools.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-08 15:36:51 +00:00
Yann E. MORIN"
bf3d5df0ff Eye-candy in the addToolVersion.sh script.
/trunk/tools/addToolVersion.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-02 17:49:29 +00:00
Yann E. MORIN"
86c54d8079 Merge the fortran stuff to trunk now it works!
Fortran is not supported for all targets, though. ARM at least does not work.

 /trunk/scripts/build/binutils.sh |    8     8     0     0 ++++++++
 /trunk/scripts/build/cc_gcc.sh   |   11     6     5     0 ++++++-----
 /trunk/scripts/crosstool.sh      |   10     9     1     0 +++++++++-
 /trunk/tools/addToolVersion.sh   |    3     3     0     0 +++
 /trunk/steps.mk                  |    2     2     0     0 ++
 /trunk/config/cc/gcc.in          |   16    16     0     0 ++++++++++++++++
 6 files changed, 44 insertions(+), 6 deletions(-)
2008-04-30 10:43:41 +00:00
Yann E. MORIN"
2237fab536 Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

 /trunk/tools/addToolVersion.sh |   26    13    13     0 +++++++++++++-------------
 /trunk/config/kernel/linux.in  |    6     3     3     0 +++---
 /trunk/config/kernel.in        |    2     1     1     0 +-
 /trunk/config/cc.in            |    2     1     1     0 +-
 /trunk/config/libc.in          |    4     2     2     0 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17 21:04:23 +00:00
Yann E. MORIN"
8796440ca6 Argh! Kill latest (hopefuly) remnants of core/final gcc versions. 2008-02-14 22:34:19 +00:00
Yann E. MORIN"
2fe3a9dbbb Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
Don't hardcode ncurses include and link flags.
2007-09-12 17:35:07 +00:00
Yann E. MORIN"
54cca9f2ba Add the possibility to force the number of // jobs without reconfiguring. 2007-08-15 14:59:37 +00:00
Yann E. MORIN"
25f164c32f When adding a new experimental/obsolete version, mark it as so in the prompt. 2007-08-11 10:55:38 +00:00
Yann E. MORIN"
feb0328d7a Make use of setsid to spawn removal processes: we don't want the rm's to stop if the main script fails and ends before all directories were removed. 2007-08-07 18:05:41 +00:00
Yann E. MORIN"
72caaf7717 Revert previous spurious commit. 2007-08-07 17:08:13 +00:00
Yann E. MORIN"
f1741dc507 Fix the Makefile.in to correctly remove generated documentation. 2007-08-07 17:07:39 +00:00
Yann E. MORIN"
4d90f28bf9 Update tools/config.guess. 2007-07-27 11:45:13 +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"
e9916d58e9 Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion. 2007-07-15 09:09:04 +00:00
Yann E. MORIN"
9311633718 Sanitise populate a little bit. 2007-07-14 21:21:55 +00:00
Yann E. MORIN"
17a0a9be24 Re-order help entries in populate. 2007-07-14 20:43:51 +00:00
Yann E. MORIN"
12b3a44a1c Upgrade populate.in:
- systematically make paths absolute,
 - somewhat beautify the help ;essage,
 - explain why ../ is to be seatrched for.
2007-07-14 13:09:17 +00:00
Yann E. MORIN"
4fb49d3215 Update config.sub. 2007-07-14 10:25:16 +00:00
Yann E. MORIN"
e4a493abc9 Add ltrace (and libelf) utilities.
Marked as BROKEN for others to debug that if they need it.
2007-07-13 12:22:34 +00:00
Yann E. MORIN"
28f92e8b09 Add strace debugging aid. 2007-07-12 13:34:56 +00:00
Yann E. MORIN"
21842b5910 Add D.U.M.A., the Electric Fence successor. 2007-07-12 08:47:15 +00:00
Yann E. MORIN"
ede3c76fc2 Fix the install procedure:
- remove useless script tools/addToolVersion.sh: it is not needed when running crosstool-NG, only for developpers,
 - create a symlink to the configuration extract script, so that it is in the PATH if ct-ng is.
2007-07-08 22:28:47 +00:00
Yann E. MORIN"
1f16f7a6f7 Add a utility to populate a root directory with libraries from the toolchain. 2007-07-08 17:44:59 +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"
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"
253edb125b Rework the help system. For now, this is mostly a no-op (it only re-organise the help entries), but later, that may come in handy when we want ct-ng to be installable). 2007-06-17 16:24:23 +00:00
Yann E. MORIN"
2e4a36d95c Update tools/config.guess. 2007-05-27 21:15:46 +00:00
Yann E. MORIN"
f384c530ad Fix adding versions for the core C compiler. 2007-05-19 22:54:20 +00:00
Yann E. MORIN"
5e43e3ea86 Add dmalloc debug library facility.
Add patches for dmalloc.
Ignore the generated config/debug.in
2007-05-18 15:57:16 +00:00