Commit Graph

60 Commits

Author SHA1 Message Date
Yann E. MORIN"
c8ecae9a5f scripts: enhance Makefile for installation
Split the multiple directory copies into autonomous rules.
Fix the autocompletion message.
2010-06-27 16:40:21 +02:00
Andy Gibbs"
709a529e21 test-suite: correctly install when not --local 2010-06-25 12:33:30 +02:00
Titus von Boxberg
ebf80df032 ct-ng: Add ability to configure and use some GNU tools
Make the paths to libtool, objcopy, objdump, readelf, patch configurable.
2010-05-17 14:11:08 +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
Frederic Roussel"
6d9e27b5b7 Fix typos and adjust some documentation. 2009-11-17 10:01:22 -08:00
Yann E. MORIN"
a83479174b docs: get rid of any reference to the now long-gone svn repository 2009-10-10 13:12:28 +02:00
Yann E. MORIN"
d0528ffa5c ./configure:
- fix a few messages

 -------- diffstat follows --------
 /trunk/Makefile.in |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-13 21:32:48 +00:00
Yann E. MORIN"
e89072b5a5 Add a new action: show-tuple
- in a directory containing a crosstool-NG configuration,
  prints the tuple of the configured target to stdout.

 -------- diffstat follows --------
 /trunk/Makefile.in             |    4     3     1     0 +++-
 /trunk/scripts/showTuple.sh.in |   30    30     0     0 ++++++++++++++++++++++++++++++
 /trunk/ct-ng.comp              |    2     1     1     0 +-
 /trunk/ct-ng.in                |   10     9     1     0 +++++++++-
 4 files changed, 43 insertions(+), 3 deletions(-)
2009-05-13 18:10:47 +00:00
Yann E. MORIN"
1805f4e62d There's no longer any reason to require GNU awk:
- the only part that required it (socks proxy settings) is gone,
- all remaining awk scripts are POSIXly correct (or should be).

 -------- diffstat follows --------
 /trunk/configure                     |    5     2     3     0 ++---
 /trunk/Makefile.in                   |    2     0     2     0 --
 /trunk/scripts/build/kernel/linux.sh |    2     1     1     0 +-
 /trunk/scripts/build/internals.sh    |    1     0     1     0 -
 /trunk/scripts/build/mpfr.sh         |    2     1     1     0 +-
 /trunk/scripts/functions             |    4     2     2     0 ++--
 /trunk/scripts/saveSample.sh.in      |    4     2     2     0 ++--
 7 files changed, 8 insertions(+), 12 deletions(-)
2009-04-20 21:10:03 +00:00
Yann E. MORIN"
06b48c1518 Set the execute bit on generated script at build time, not install time.
Do not advertise "make install" when ./configure-d with "--local".

 -------- diffstat follows --------
 /trunk/configure   |    8     5     3     0 +++++---
 /trunk/Makefile.in |   10     3     7     0 +++-------
 2 files changed, 8 insertions(+), 10 deletions(-)
2009-04-20 19:57:16 +00:00
Yann E. MORIN"
430ce931e1 Use tools discovered by ./configure in scripts/saveSample.sh
/trunk/Makefile.in              |    7     6     1     0 ++++++-
 /trunk/scripts/saveSample.sh.in |   23    13    10     0 +++++++++++++----------
 2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01 17:11:46 +00:00
Yann E. MORIN"
534ee284bb Set proper mode to installed files; fixes running when not using --local.
/trunk/Makefile.in |    8     5     3     0 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
2009-02-01 16:17:53 +00:00
Yann E. MORIN"
feb0c60e3b Ignore generated file, remove generated file on clean.
/trunk/Makefile.in |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2009-01-27 19:53:44 +00:00
Yann E. MORIN"
6912bc6a2c Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:
- fix Makefile to really, really not used built-in rules and variables
- have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in
- create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools

 /trunk/scripts/crosstool-NG.sh.in |   27    23     4     0 +++++++++++++++++++++---
 /trunk/Makefile.in                |   50    48     2     0 +++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 71 insertions(+), 6 deletions(-)
2009-01-26 22:43:08 +00:00
Yann E. MORIN"
44596c425f Makefile.in: remove generated paths.mk during clean
/trunk/Makefile.in |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2009-01-25 22:59:55 +00:00
Yann E. MORIN"
db0f33d012 Makefile.in: create and install the Makefile and shell-script fragment "paths.mk", containing the paths found by ./configure
/trunk/Makefile.in |   66    39    27     0 +++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 39 insertions(+), 27 deletions(-)
2009-01-25 22:58:26 +00:00
Yann E. MORIN"
d89301a3be Makefile.in: re-order tools in alphabetical order.
/trunk/Makefile.in |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2009-01-25 19:40:13 +00:00
Yann E. MORIN"
9305713521 Fix Makefile.in to use the correct variables.
/trunk/Makefile.in |   16     8     8     0 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2009-01-18 17:41:58 +00:00
Yann E. MORIN"
eca38a0246 Use ./configure-discovered paths in Makefile.
/trunk/Makefile.in |   55    31    24     0 +++++++++++++++++++++++++++++++------------------------
 /trunk/ct-ng.in    |    2     1     1     0 +-
 2 files changed, 32 insertions(+), 25 deletions(-)
2009-01-18 15:40:02 +00:00
Yann E. MORIN"
fb4b418266 Small Makefile fixes.
/trunk/Makefile.in |   29    17    12     0 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
2008-12-28 10:19:50 +00:00
Yann E. MORIN"
65bb3ac67c Get rid of the tols/ directory:
- move config.guess and config.sub from tools/ into scripts/
- update the scripts and makefile fragments accordingly

 /trunk/Makefile.in        |   10     5     5     0 +++++-----
 /trunk/scripts/functions  |   16     8     8     0 ++++++++--------
 /trunk/scripts/scripts.mk |   28    13    15     0 +++++++++++++---------------
 /trunk/ct-ng.in           |    4     2     2     0 ++--
 4 files changed, 28 insertions(+), 30 deletions(-)
2008-12-16 18:12:34 +00:00
Yann E. MORIN"
f15b8ade72 Get rid of the local-test in Makefile.
/trunk/Makefile.in       |   30    19    11     0 +++++++++++++++++++-----------
 /trunk/docs/overview.txt |   25    13    12     0 +++++++++++++------------
 2 files changed, 32 insertions(+), 23 deletions(-)
2008-11-16 22:19:57 +00:00
Yann E. MORIN"
81f9d4d73e Honor the DESTDIR variable to install out-of-place (Eg. for packaging).
/trunk/configure         |   10    10     0     0 +++++++++
 /trunk/Makefile.in       |   62    36    26     0 +++++++++++++++++++++++++++++++-----------------------
 /trunk/docs/overview.txt |   12    12     0     0 ++++++++++
 3 files changed, 58 insertions(+), 26 deletions(-)
2008-11-16 21:55:46 +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"
10d2b52665 Force CT_WORK_DIR to "${CT_TOP_DIR}/targets" when saving the config as a new sample.
/trunk/Makefile.in |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-30 11:19:17 +00:00
Yann E. MORIN"
8ab984f4aa Remove 'make' warning whith ./configure --local.
Eye-candy.

 /trunk/Makefile.in |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-06-14 14:04:54 +00:00
Yann E. MORIN"
d4dae52465 Re-instate a functionnal --local test.
Introduce a TARGETS make variable that contains sub-parts to {build,install,clean,uninstall}
Small fix to directories creation.

 /trunk/Makefile.in |   28    19     9     0 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)
2008-06-11 22:18:06 +00:00
Yann E. MORIN"
62df5c3fed Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.

 /trunk/configure   |   26    14    12     0 ++++++++++---------
 /trunk/Makefile.in |   83    45    38     0 +++++++++++++++++++++++++++++++++---------------------------
 2 files changed, 59 insertions(+), 50 deletions(-)
2008-06-11 21:45:57 +00:00
Yann E. MORIN"
b35770100e Print a little bit of progress in ./configure (computing the version string can be long, especially on networked file systems).
/trunk/configure   |    6     6     0     0 ++++++
 /trunk/Makefile.in |   14     8     6     0 ++++++++------
 2 files changed, 14 insertions(+), 6 deletions(-)
2008-06-11 20:40:38 +00:00
Yann E. MORIN"
5db396b048 The version strings being computed at ./configure time, store it as is, and don't install a .version file.
/trunk/Makefile.in |    2     0     2     0 --
 /trunk/ct-ng.in    |    2     1     1     0 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
2008-06-01 20:36:36 +00:00
Yann E. MORIN"
829aa3598f Rebuild generated files if re-configured.
/trunk/Makefile.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-01 19:47:25 +00:00
Yann E. MORIN"
efa83fdf6e When installing SVN snapshots, include the branch and revision in the version number.
In case some random snapshot is installed and used for production, then this
will ease rewinding.
2008-02-17 22:58:57 +00:00
Yann E. MORIN"
07fa611771 Robet P. J. DAY: typoes. 2008-02-14 22:44:34 +00:00
Yann E. MORIN"
af2e42b572 Fix using --local. 2007-09-16 17:57:21 +00:00
Yann E. MORIN"
c0f4b573f8 Stop build if Makefile.in was changed. 2007-09-14 21:13:04 +00:00
Yann E. MORIN"
7b70a704e0 Add the framework to have architecture-specific configuration and functions.
API is not yet defined.
2007-09-14 17:43:16 +00:00
Yann E. MORIN"
ecab7e451f Fix printing the version string when configured with --local. 2007-08-15 15:39:44 +00:00
Yann E. MORIN"
dddf8170a9 Have Mekfile.in be a little more verbose. 2007-08-07 17:15:27 +00:00
Yann E. MORIN"
ef21bfc5c0 Fix Makefile.in:
- correctly generate the documentation,
 - correctly remove generated documentation.
2007-08-07 17:10:07 +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"
4c8537d254 Remove the correct file when cleaning. 2007-07-30 21:27:10 +00:00
Yann E. MORIN"
5dcc71b489 Change the way the compressed man page is built/installed. 2007-07-30 21:23:53 +00:00
Yann E. MORIN"
8e11f48162 Overwrite pre-existing compressed man page. 2007-07-30 21:13:23 +00:00
Yann E. MORIN"
928658aeaa Install a compressed man page (as per Debian's policy).
(Yes, you guessed: I'll try to have crosstool-NG packaged in Debian)
2007-07-30 21:10:22 +00:00
Yann E. MORIN"
319811373d Fix uninstalling man. 2007-07-28 20:45:24 +00:00
Yann E. MORIN"
d4886dbe64 Fix install: man page was not being installed.
Fix uninstall: dont't uninstall if using local copy, don't try to remove non-existant files.
2007-07-28 11:57:42 +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"
f38b71646a Re-instate the --local configure switch to not install and use the local crosstool-NG copy. 2007-07-22 17:44:27 +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