summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2007-07-08Add a utility to populate a root directory with libraries from the toolchain.Yann E. MORIN"2-0/+10
2007-07-07More uClibc parrallel compilation cleanup.Yann E. MORIN"1-3/+2
2007-07-07Parrallel compilation is broken for uClibc (I don't know if any of my ↵Yann E. MORIN"1-2/+1
patches is doing it, or if mainline is already broken).
2007-07-07Silence "which" being verbose in some distros. (eg. Mandriva's which spawns ↵Yann E. MORIN"3-10/+19
"foobar was not found in /bin:/usr/bin:...." directly on stderr)
2007-07-04Before trying to download sstrip (from buildroot), try a local copy first.Yann E. MORIN"1-0/+6
2007-07-03Make checking the linux installed headers optional (instead of systematic).Yann E. MORIN"1-9/+10
2007-07-02Get rid of eclipse fiels once and for all.Yann E. MORIN"2-3/+3
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-01Merge the build system to trunk: ct-ng is now installable:Yann E. MORIN"7-46/+60
- ./configure --prefix=/some/place - make - make install - export PATH="${PATH}:/some/place/bin" - ct-ng <action>
2007-06-17Offer an option to build the gdbserver statically. This helps in case of ↵Yann E. MORIN"1-0/+6
debugging shared library loading.
2007-06-17The log file is no longer configurable: it is always ↵Yann E. MORIN"2-26/+25
"${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-17scripts/showSamples.sh:Yann E. MORIN"1-3/+0
- 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-17Add the "regtest" make target: call "make regtest", and all samples wil be ↵Yann E. MORIN"1-45/+54
built, and a tarball made for each of them. First sample to fail causes the test to stop.
2007-06-16scripts/functions is responsible for initiating the log file.Yann E. MORIN"3-8/+9
Users of the log facility are in charge to use, move, delete this log file, now.
2007-06-16Fix printing components' file names.Yann E. MORIN"7-8/+11
2007-06-16Add a function to print each component's filename: this eases building the ↵Yann E. MORIN"10-8/+79
tarball of the generated toolchain. Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-06-16When searching a matching extension for a file, also check for the empty ↵Yann E. MORIN"1-1/+4
extension.
2007-06-16Add two te;plates on how to add a new tool/debug facility.Yann E. MORIN"2-0/+100
2007-06-04Stale log files are now named "log.*", not "*.log".Yann E. MORIN"1-1/+1
2007-06-04Small eye-candy fix.Yann E. MORIN"1-1/+1
2007-06-02Be a little more explicit when the user wants to restart a non-restartable ↵Yann E. MORIN"1-1/+2
build.
2007-06-02Revert revision 201: renaming the two cc_core passes was a bad idea.Yann E. MORIN"1-2/+2
2007-06-02scripts/build/libc_glibc.sh:Yann E. MORIN"1-50/+43
- clean up addons list creation, - make NPTL work again with this.
2007-06-01Rename two steps to their real names:Yann E. MORIN"1-2/+2
- cc_core_pass_1 is really cc_core_static, - cc_core_pass_2 is really cc_core_shared.
2007-06-01Add the first tool facility: sstrip.Yann E. MORIN"1-0/+71
2007-06-01Introduce the notion of tols facilities (none so far, sstrip coming right ↵Yann E. MORIN"2-0/+38
away...).
2007-06-01Messages from the downloaders should be tagged ALL, not DEBUG.Yann E. MORIN"1-2/+2
2007-05-29Small fix in the log level when dumping the last messages (elapsed time).Yann E. MORIN"1-2/+3
2007-05-28Fix and enhance the STOP/RESTART facility.Yann E. MORIN"1-10/+18
2007-05-28Don't start a state restoration if it is not available.Yann E. MORIN"1-4/+4
Fortuitly discovered that $SECONDS is inherited from shell to sub-shells. Good!
2007-05-27Fix libfloat when calling the compiler:Yann E. MORIN"1-5/+4
- when not compiling NPTL, the shared core C compiler does not exist, - PATH arranges for the shared core C compiler to be found before the static one, so no need to force it.
2007-05-27Forgot to remove all build system tools from the generated toolchain.Yann E. MORIN"1-0/+1
2007-05-27Merge the NPTL stuff.Yann E. MORIN"8-81/+391
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-25Add the possibility to stop after a specified step.Yann E. MORIN"2-1/+12
Update the Makefile help and the documentation accordingly.
2007-05-24In the non-canadian case, also force the build system.Yann E. MORIN"1-1/+1
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).