summaryrefslogtreecommitdiff
path: root/ct-ng.in
AgeCommit message (Collapse)AuthorFilesLines
2017-01-20Get rid of .config.2.Alexey Neyman1-8/+3
Now handled by CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-20Install canadian crosses into a separate subdir.Alexey Neyman1-1/+1
Makes them sorted out by host, and removes the need for similar hack in samples.mk. Change how canadian crosses are named: using `=' character resulted in Glibc build failure. Move loading config into a common function, CT_LoadConfig. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-11Fix ct-ng show-config.Alexey Neyman1-1/+1
If configured with --enable-local, CT_NG is exported as plain 'ct-ng' without any path. showSamples.sh then fails to invoke ct-ng (as current directory is not in $PATH). Signed-off-by: Alexey Neyman <stilor@att.net>
2015-11-04Merge pull request #233 from stilor/fix-build-allBryan Hundven1-10/+11
Fix build-all
2015-10-30Fix samples using GMP 4.3.2.Alexey Neyman1-9/+10
Some older versions of configure (including the one in GMP 4.3.2) interpret the $ECHO environment variable as the `echo' utility to use. CT-NG sets the variable to `:' and exports it if V=0 or V=1 is supplied, breaking the samples using such configure. This currently includes bfin-unknown-linux-uclibc and powerpc-unknown-linux-uclibc. Also, correct the description of the V= variable - V=0 is *not* the default; in fact, default does not correspond to any of the V=[012] values. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Clean up new .build-all directory.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Change sed monstrosity into a make variable.Alexey Neyman1-1/+1
The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-10-30Implement 'ct-ng source'.Alexey Neyman1-0/+4
Provides a simpler alternative to editing config to enable CT_ONLY_DOWNLOAD, doing ct-ng build and then restoring .config. Signed-off-by: Alexey Neyman <stilor@att.net>
2014-11-24all: remove references to creating a tarballYann E. MORIN1-8/+0
This has been broken for ages, time to finaly remove it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-06-28ct-ng: 'clean' removes the build dirYann E. MORIN1-5/+5
It makes more sense to remove the build dir on 'clean' rather than on 'distclean', since the latter also trashes the .config file. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-03-06docs: update my e-mailYann E. MORIN"1-2/+2
Since anciens.enib.fr has been dead for two months now, without any hope of recovery, update my e-mail to point to @free.fr instead. Reported-by: "Bryan Hundven" <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2012-02-13help: fix typoJohannes Stezenbach1-1/+1
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2011-08-17configure: handle --program-prefixYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-19scripts: munge .config to handle array variablesYann E. MORIN"1-2/+7
Transfrom array variables from pure strings (in the kconfig output) into proper bash arrays declarations, for feeding to the build scripts. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-03-19scripts: leave changelog in build dir, copy to install dirYann E. MORIN"1-1/+1
Users tend to look for the build log in the current working directory, rather than in the toolchain's installation dir. While bundling the build log in the toolchain installation dir is nice for distribution and review, it can be easier to have the build log readily available in the working directory, as it is quicker to get to it. So, the build log stays in the working directory until the toolchain is completely and successfully built, and then a (compressed) copy is made. Reported-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-06scripts: fix distcleanYann E. MORIN"1-1/+2
Do not fail in case either one or both of target/ and .build/ directories are missing. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-05scripts: update distcleanYann E. MORIN"1-3/+3
The toolchains are now built in .build/ rather than in targets/ so distclean has to get rid of that. We also clean up the old dir, as users may have old samples that still refer to the old location. Do not hide messages during distclean, and do not ignore errors. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-14docs: split into multiple filesYann E. MORIN"1-2/+2
The overview.txt file has evolved into more than just an overview. Split it into chapters, and include the misc tutorials. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-1/+4
- 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
2009-12-29config: fix generated config files when GREP_OPTIONS set --color=alwaysYann E. MORIN"1-0/+4
grep is used when generating some .in files (in config.gen). If GREP_OPTIONS contains --color=always, then the generated files will contains some escape sequences setting the color, and mconf would choke on those escape sequences. Always set and export an empty GREP_OPTIONS to avoid that. Issue reported by Kevin Kirkup <kevin dot kirkup at gmail dot com> : http://sourceware.org/ml/crossgcc/2009-12/msg00026.html
2009-10-30scripts: fix updating config.{sub,guess}Yann E. MORIN"1-2/+3
2009-05-13Add a new action: show-tupleYann E. MORIN"1-1/+9
- 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-01-26Use the paths found by ./configure in the ct-ng.in makefile script and its ↵Yann E. MORIN"1-9/+13
fragments. /trunk/kconfig/kconfig.mk | 2 1 1 0 +- /trunk/samples/samples.mk | 18 9 9 0 +++++++++--------- /trunk/config/config.mk | 10 5 5 0 +++++----- /trunk/ct-ng.in | 22 13 9 0 +++++++++++++--------- 4 files changed, 28 insertions(+), 24 deletions(-)
2009-01-19Small semantic fix in ct.ng(.in): use make builtin variable to know the ↵Yann E. MORIN"1-4/+6
make-script name. /trunk/ct-ng.in | 10 6 4 0 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
2009-01-18Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.Yann E. MORIN"1-1/+1
After all, this is not crosstool, but really crosstool-NG! /trunk/steps.mk | 2 1 1 0 +- /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2009-01-18Use ./configure-discovered paths in Makefile.Yann E. MORIN"1-1/+1
/trunk/Makefile.in | 55 31 24 0 +++++++++++++++++++++++++++++++------------------------ /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 32 insertions(+), 25 deletions(-)
2008-12-16Get rid of the tols/ directory:Yann E. MORIN"1-2/+2
- 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-10-31Update help (mostly eye-candy).Yann E. MORIN"1-2/+2
/trunk/ct-ng.in | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-29Move steps-related help into steps.mk.Yann E. MORIN"1-2/+0
/trunk/steps.mk | 4 4 0 0 ++++ /trunk/ct-ng.in | 2 0 2 0 -- 2 files changed, 4 insertions(+), 2 deletions(-)
2008-10-29Use $(MAKE) for recursive calls, don't directly use $(CT_NG).Yann E. MORIN"1-1/+1
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-28Also export the V value to sub-makes.Yann E. MORIN"1-1/+1
/trunk/ct-ng.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21Correctly handle V= only from command line, not from environment.Yann E. MORIN"1-9/+8
/trunk/ct-ng.in | 17 8 9 0 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)
2008-10-21Eye-candy when {,dist}clean.Yann E. MORIN"1-4/+12
/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-18Extract the config files related stuff from the kconfig stuffYann E. MORIN"1-0/+1
- create config/config.mk, with all the config.gen/ rules - the only common points between config files and configurators: - the top-level config file to include, stored in KCONFIG_TOP - the config_file rules, which makes config files available to configurators - dependency-files are renamed from %.d to %.dep (.d is reserved for directories) - a few eye-candy here and there /trunk/kconfig/kconfig.mk | 184 12 172 0 +++-------------------------------------------------- /trunk/config/config.mk | 118 9 109 0 +++------------------------------- /trunk/ct-ng.in | 1 1 0 0 + 3 files changed, 22 insertions(+), 281 deletions(-)
2008-10-17Update the kconfig stuff to match the one in the linux-2.6.27 version.Yann E. MORIN"1-1/+1
/trunk/kconfig/zconf.hash.c | 225 110 115 0 +++---- /trunk/kconfig/lkc_proto.h | 4 3 1 0 + /trunk/kconfig/mconf.c | 217 110 107 0 +++--- /trunk/kconfig/menu.c | 86 60 26 0 ++- /trunk/kconfig/symbol.c | 212 156 56 0 ++++-- /trunk/kconfig/kconfig.mk | 24 9 15 0 - /trunk/kconfig/lex.zconf.c | 97 80 17 0 ++- /trunk/kconfig/util.c | 38 30 8 0 + /trunk/kconfig/lkc.h | 22 18 4 0 + /trunk/kconfig/expr.c | 32 19 13 0 + /trunk/kconfig/confdata.c | 254 172 82 0 +++++--- /trunk/kconfig/lxdialog/dialog.h | 12 9 3 0 + /trunk/kconfig/lxdialog/inputbox.c | 6 3 3 0 /trunk/kconfig/lxdialog/checklist.c | 4 2 2 0 /trunk/kconfig/lxdialog/menubox.c | 6 3 3 0 /trunk/kconfig/lxdialog/textbox.c | 2 1 1 0 /trunk/kconfig/lxdialog/util.c | 47 30 17 0 + /trunk/kconfig/lxdialog/yesno.c | 4 2 2 0 /trunk/kconfig/expr.h | 20 10 10 0 /trunk/kconfig/zconf.tab.c | 1441 793 648 0 ++++++++++++++++++++++++------------------- /trunk/kconfig/conf.c | 276 124 152 0 ++++---- /trunk/kconfig/check-gettext.sh | 14 14 0 0 + /trunk/ct-ng.in | 2 1 1 0 23 files changed, 1759 insertions(+), 1286 deletions(-)
2008-10-15Woops, typo...Yann E. MORIN"1-1/+1
/trunk/ct-ng.in | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-15Cheesy kconfig stuff:Yann E. MORIN"1-12/+28
- 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-14Eye-candy in the help entries.Yann E. MORIN"1-3/+3
/trunk/ct-ng.comp | 2 1 1 0 +- /trunk/ct-ng.in | 6 3 3 0 +++--- /trunk/steps.mk | 6 3 3 0 +++--- 3 files changed, 7 insertions(+), 7 deletions(-)
2008-10-14Eye candy in the help disclaimer.Yann E. MORIN"1-0/+1
/trunk/ct-ng.in | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-07-16When dumping version, also print some /legal/ blah-blah:Yann E. MORIN"1-0/+5
- copyright notice, - one-liner boilerplate about free software, - disclaimer about waranty, merchantability, fitness... /trunk/ct-ng.in | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2008-06-01Rework a little bit the steps and samples help entries.Yann E. MORIN"1-2/+3
/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-01The version strings being computed at ./configure time, store it as is, and ↵Yann E. MORIN"1-1/+1
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-01-16Bail out if /bin/bash does not exist, or if it is not bash>=3.0.Yann E. MORIN"1-0/+8
Force make to use /bin/bash as shell.
2007-09-11make-3.80 does not have $(lastword ...). Fix this when ct-ng calls itself: ↵Yann E. MORIN"1-9/+5
don't try to be smart, we just _know_ where ct-ng is at configure time! Fis a latent bug in handling the number parallel jobs.
2007-08-31Trying to guess how we were called does not work. Don't try to be smart, and ↵Yann E. MORIN"1-1/+1
take the full path, even if we are in PATH.
2007-08-15Fix printing the version string when configured with --local.Yann E. MORIN"1-3/+3
2007-08-15Add the possibility to force the number of // jobs without reconfiguring.Yann E. MORIN"1-8/+15
2007-07-23Try again to fix the --local behavior.Yann E. MORIN"1-2/+2
2007-07-23Seems like the --no-builtin-rules and -r options to make are not the same...Yann E. MORIN"1-1/+1
2007-07-22Re-instate the --local configure switch to not install and use the local ↵Yann E. MORIN"1-1/+1
crosstool-NG copy.