summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2007-05-24We need to build libiberty before gcc only in the canadian case, not the ↵Yann E. MORIN"2-2/+2
opposite.
2007-05-23Correctly handle the log level overide in scripts/tarball.sh.Yann E. MORIN"1-5/+5
2007-05-23In CT_Abort(), don't send output to stderr. Let the log facility handle ↵Yann E. MORIN"1-1/+1
where things should go.
2007-05-23Sanitise CT_DoBuildTargetTriplet a bit.Yann E. MORIN"1-7/+1
2007-05-23Correctly handle the log level overide in scripts/saveSample.sh.Yann E. MORIN"2-7/+7
Little eye candy in scripts/showSamples.sh.
2007-05-22Mark broken samples as such: use a file named 'broken' in the sample's ↵Yann E. MORIN"1-6/+5
directory. Reflected this state when listing samples (in scripts/showSamples.sh).
2007-05-22Be verbose when making build system tools available, and when access is ↵Yann E. MORIN"1-8/+9
removed. Log this to DEBUG. Remove last remnants of color scheme. Small fixes to some comments.
2007-05-22Implement a restart facility.Yann E. MORIN"2-192/+355
If you select to debug ct-ng, then you have two new options: - DEBUG_CT_PAUSE_STEPS : pause between every steps, - DEBUG_CT_SAVE_STEPS : save state between every steps. To restart a saved state, just set the RESTART make variable when calling make: - make RESTART=<step_name>
2007-05-22Fix warning about setting --host and not --build.Yann E. MORIN"1-1/+2
2007-05-22Upgrade scripts/tarball.sh and scripts/saveSample.sh to use the new logging ↵Yann E. MORIN"2-7/+4
facility.
2007-05-21Move the config script for the build dir to the source dir.Yann E. MORIN"1-4/+4
That will be useful when we have the restart functionality.
2007-05-20Fix gdb to install in CT_PREFIX_DIR rather than CT_INSTALL_DIR.Yann E. MORIN"1-1/+1
One day, I swear, I will implement the install directory option. But later.
2007-05-20Ah! I finally have a progress bar that doesn't stall the build!Yann E. MORIN"2-16/+21
- pipe size in Linux is only 8*512=4096 bytes - pipe size is not setable - when the feeding process spits out data faster than the eating process can read it, then the feeding process stalls after 4KiB of data sent to the pipe - for us, the progress bar would spawn a sub-shell every line, and the sub-shell would in turn spawn a 'date' command. Which was sloooww as hell, and would cause some kind of a starvation: the pipe was full most of the time, and the feeding process was stalled all this time. Now, we use internal variables and a little hack based onan offset to determine the elapsed time. Much faster this way, but still CPU-intensive.
2007-05-19Add uClibc-0.9.29:Yann E. MORIN"3-8/+38
- associated patch set - update the munging function to accomodate the new config variables libfloat version was missing from the previous commit... :-( Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
2007-05-19Correctly handle the libfloat case: download, extract and patch sub-actions.Yann E. MORIN"3-22/+16
Small improvement in messages in scipts/functions when retrieving a file.
2007-05-18Un-mark gdb and dmalloc being EXPERIMENTAL.Yann E. MORIN"1-3/+3
Mark native gdb as being EXPERIMENTAL (it depends on termcap, which we don't have yet).
2007-05-18Little fix up in a message during the dmalloc build.Yann E. MORIN"1-1/+1
2007-05-18Add dmalloc debug library facility.Yann E. MORIN"1-0/+53
Add patches for dmalloc. Ignore the generated config/debug.in
2007-05-18Really use local copy first in case it does not have the same extension as ↵Yann E. MORIN"1-19/+18
the downloadable tarball.
2007-05-18Remove even more documentation.Yann E. MORIN"1-2/+3
2007-05-17Make the debug config menu a generated file.Yann E. MORIN"2-3/+3
Add a uClibc-0.9.29 patch directory with one patch (from me!). Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29. Some eyecandy in the gdb build process.
2007-05-17Debug facilities:Yann E. MORIN"5-84/+246
- add a framework to easily add new ones - add gdb as a first debug facility - add patches for gdb After the kernel checked its installed headers, clean up the mess of .checked.* files. Reorder scripts/crosstool.sh: - dump the configuration early - renice early - get info about build system early, when setting up the environment - when in cross or native, the host tools are those of the build system, and only in this case - elapsed time calculations moved to scripts/functions Remove handling of the color: it's gone once and for all. Update tools/addToolVersion.sh: - handle debug facilities - commonalise some code - remove dead tools (cygwin, tcc) Point to my address for bug reports.
2007-05-14Move the whole threading ;odel choice out of glibc and into the generic C ↵Yann E. MORIN"1-1/+1
library options: even uClibc may have NPTL at one point in the (hopefully near) future. Mark the progress bar as being CPU-intensive. Little style fix to the core C compiler build step.
2007-05-13Oupsss... Didn't save scripts/crosstool.sh prior to comiting. :-(Yann E. MORIN"1-3/+0
2007-05-13Remove dead entries for components not yet integrated: cygwin kernel, tcc...Yann E. MORIN"4-1/+1
Some fixups in config entries, to avoid warnings when parsed by the kconfig parser.
2007-05-13Correctly handle the version string, defined in a single place now.Yann E. MORIN"2-4/+1
Fix and update README.
2007-05-12New make target to save the configured nad built!) toolchain.Yann E. MORIN"1-0/+88
2007-05-10Update the way we handle directories supplied by the user:Yann E. MORIN"2-98/+111
- the tarball directory is considered as a local copy, and tarballs are copied to a working area, - the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option, - the build dir has been renamed from 'build' to 'targets'. That should ease preparing a tarball of the resulting target.
2007-05-10Clean the sample saving script.Yann E. MORIN"1-5/+3
2007-05-09libfloat is a component by itself, not a sup-part of the C library.Yann E. MORIN"2-1/+1
2007-05-09Again, some progress bar optimisation.Yann E. MORIN"2-26/+12
2007-05-08Hop, a somewhat more efficient progress bar, less CPU consuming, if that was ↵Yann E. MORIN"2-5/+7
a problem :-) (a litlle recreation while toochains are building...)
2007-05-08Beautify the progress bar.Yann E. MORIN"1-5/+4
2007-05-08Fix handling of downloader output: they are now correctly logged using the ↵Yann E. MORIN"1-3/+3
internal log facility.
2007-05-08Huge fixes to glibc build, so that we can build at least (and at last):Yann E. MORIN"9-75/+90
- use ports addon even when installing headers, - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!), - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T, - a bit of preparations for NPTL (RSN I hope), - fix fixing the linker scripts (changing the backup file is kind of useless and stupid); Shut uClibc finish step: there really is nothing to do; Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least); Did not catch the make errors: fixed the pattern matching in scripts/functions; Introduce a new log level, ALL: - send components' build messages there, - DEBUG log level is destined only for crosstool-NG debug messages, - migrate sub-actions to use appropriate log levels; Update the armeb-unknown-linux-gnu sample: - it builds! - uses gcc-4.0.4 and glibc-2.3.6, - updated to latest config options set.
2007-05-08Inform that a component is already extracted.Yann E. MORIN"1-1/+4
2007-05-08Print the elapsed time alongside with the progress bar, such as below:Yann E. MORIN"2-6/+13
[02:27] \
2007-05-08Cosmetics: newline at end of file, ports are now a separate option.Yann E. MORIN"1-0/+1
2007-05-08Print the major components and their version when calling "make help".Yann E. MORIN"1-0/+30
2007-05-08Bah. Be silent when there is nothing to do: glibc has no config (file) to check.Yann E. MORIN"1-3/+1
2007-05-07Don't make checking the kernel config file a step by itself. Only make it a ↵Yann E. MORIN"1-4/+0
step if we need a not-provided kernel config file.
2007-05-07Simplify kernel config file need.Yann E. MORIN"1-2/+7
Don't build a default config file when not needed.
2007-05-07Fix glibc and uClibc downloading and extracting.Yann E. MORIN"5-9/+37
Although we no longer need the kernel config file, we now need to specify the kernel source directory when installing headers. Re-order components downloading to match build order. Fix the saveSample.sh script in case the referenced files are the same as the destination files.
2007-05-07Merge the save-sample branch to trunk:Yann E. MORIN"12-561/+673
- reorder most of the environment setup, - geting, extracting and patching are now components' sub-actions, - save the current config as a sample to be used as a pre-configured target.
2007-05-06Linux kernel headers install does not need the kernel to be configured. ↵Yann E. MORIN"1-7/+0
Dropping this unneccessary step.
2007-05-01Some little cosmetics in final compiler.Yann E. MORIN"1-3/+3
2007-04-23The linux kernel config file is now optional. If none is given, a default ↵Yann E. MORIN"1-2/+15
one is created using the default target for the given architecture.
2007-04-23Fixed a non-fatal bug in a sed expression.Yann E. MORIN"2-5/+5
Some cosmetics as well.
2007-04-23Second shot at merging from the MIPS branch:Yann E. MORIN"1-7/+12
- log level boost for warnings and errors - option re-ordering - help updating
2007-04-23Merge missing ABI code from the MIPS branch.Yann E. MORIN"1-0/+3