summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2008-10-15Add alternate locations where to retrieve binutils snapshots.Yann E. MORIN"1-2/+3
/trunk/scripts/build/binutils.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-10-14Introduce the notion of a 'sample comment'.Yann E. MORIN"2-17/+41
- presence of the sample's reported.by file is now mandatory. - when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file. - when saving a sample, one can store a few-liner comment. - when recalling a sample, the reporter name, URL and comment (if present) are printed. - update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail). - update all samples that were missing the reported.by file. /trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------ /trunk/scripts/showSamples.sh | 12 6 6 0 +++--- /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++ /trunk/samples/samples.mk | 22 17 5 0 +++++++++-- 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14saveSample: Reset CT_LOCAL_TARBALLS_DIR to defaultYann E. MORIN"1-0/+1
On Tuesday 14 October 2008 16:48:07 Nate Case wrote: > Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that > we don't save irrelevant paths in the samples. /trunk/scripts/saveSample.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-10-14Fix the saveSample script oafter architerctures reorganisationYann E. MORIN"1-2/+2
On Tuesday 14 October 2008 16:27:37 Nate Case wrote: > The saveSample.sh script is referring to the old architecture-specific > script path. Point to the new one, just as done in crosstool.sh. /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-13Generate the choice menu for C libraries, the same way arch and kernels are ↵Yann E. MORIN"1-1/+1
generated. /trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++-- /trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +- /trunk/config/libc/glibc.in | 22 6 16 0 +++++------------- /trunk/config/libc/uClibc.in | 7 6 1 0 +++++- /trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++- /trunk/config/libc.in | 53 4 49 0 +++----------------------------------------- 6 files changed, 36 insertions(+), 70 deletions(-)
2008-10-12Use ERROR level for make errors.Yann E. MORIN"1-3/+7
Rename the C library addons directories rather than symlinking. /trunk/scripts/functions | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
2008-10-10Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"12-45/+19
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym - each build script no longer has to say wether they are enabled - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code Some re-ordering of the code to be consistent with the steps ordering (tools, then debug). /trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++------------- /trunk/scripts/build/debug.sh | 14 9 5 0 +++++--- /trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 -- /trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 - /trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 -- /trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 -- /trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 -- /trunk/scripts/build/tools.sh | 14 9 5 0 +++++--- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/config/debug/ltrace.in | 14 3 11 0 ++------ /trunk/config/debug/dmalloc.in | 9 1 8 0 +---- /trunk/config/debug/gdb.in | 9 1 8 0 +---- /trunk/config/debug/strace.in | 10 1 9 0 ----- /trunk/config/debug/duma.in | 10 1 9 0 ----- /trunk/config/tools/libelf.in | 12 2 10 0 +------ /trunk/config/tools/sstrip.in | 10 1 9 0 ----- /trunk/config/config.in | 4 2 2 0 +- 21 files changed, 74 insertions(+), 134 deletions(-)
2008-10-06Install the config script following the naming of other files, eg. ↵Yann E. MORIN"1-2/+2
"${CT_TARGET}-" instead of "${CT_TARGET}." . /trunk/scripts/crosstool.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-05Separate the architecture config file and function script.Yann E. MORIN"9-1/+127
/trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++----------------------- /trunk/scripts/crosstool.sh | 2 1 1 0 +- /trunk/docs/overview.txt | 28 11 17 0 +++++++++++----------------- 3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-03Fourth shot at moving arch/ into config/arch/ .Yann E. MORIN"1-1/+1
/trunk/scripts/crosstool.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-01Save the toolchain configuration to its own file, as an auto-extracting ↵Yann E. MORIN"1-1/+5
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-09-30Better handle the second pass core gcc build, differentiating between gcc ↵Yann E. MORIN"1-9/+13
prior to 4.3 with gcc from 4.3. Simplify detecting wether gcc is 4.3 and later, or older than 4.3 (we already know from .config). /trunk/scripts/build/cc/gcc.sh | 22 13 9 0 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)
2008-09-29Restore the ability to build gcc older than 4.3. At last!Yann E. MORIN"1-1/+1
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-28In the glibc and eglibc trees, the 'configure' files may be older than their ↵Yann E. MORIN"2-1/+11
source 'configure.in', when used from an svn check out, or a snapshot tarball. They are nonetheless in sync and need not be regenerated. Fix that by touching the files to have 'make' believe they are up-to-date (which they are). /trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++ /trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
2008-09-23Bart De VOS pointed out that removing absolute paths from the libc linker ↵Yann E. MORIN"1-12/+2
scripts is plainly wrong. It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case. /trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-)
2008-09-22Rework the eglibc download so as to be a little bit saner.Yann E. MORIN"1-10/+15
/trunk/scripts/build/libc/eglibc.sh | 25 15 10 0 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
2008-09-16Generate the kernel config choice, rather than having it hard-coded:Yann E. MORIN"1-0/+0
- change the menu label from 'Target OS' to 'Operating System', - bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none', - update the kconfig.mk to generate the kernel choice entries, - update glibc&eglibc kernel version option accordingly. Update the debug & tools confiog file generation to match with arch & kernel. Print terse command lines when building in kconfig/ (a-la Linux kernel). Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules. /trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++---------- /trunk/config/kernel/linux.in | 4 4 0 0 + /trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++ /trunk/config/kernel.in | 33 5 28 0 +-------- /trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0 5 files changed, 107 insertions(+), 66 deletions(-)
2008-09-15Move all the Linux kernel config options to a single file (to ease ↵Yann E. MORIN"1-7/+6
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-15DUMA: don't log twice through the logger.Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15The Linux kernel does not need a config file now that the old methods are ↵Yann E. MORIN"1-13/+0
removed. So, don't save the Linux kernel config file when saving a sample, there will never be such a file any longer. /trunk/scripts/saveSample.sh | 13 0 13 0 ------------- 1 file changed, 13 deletions(-)
2008-09-14Enhance setting the minimum kernel version glibc will run against.Yann E. MORIN"1-5/+33
Ideally, eglibc should also benefit for that, but the current code does not set it. /trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++--- /trunk/config/libc/glibc.in | 4 2 2 0 +- /trunk/config/libc/uClibc.in | 2 2 0 0 + /trunk/config/libc/eglibc.in | 4 2 2 0 +- /trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------ /trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++-------------- 6 files changed, 145 insertions(+), 52 deletions(-)
2008-09-14Beautify somewhat the WiKi table for narrow screens.Yann E. MORIN"1-3/+3
/trunk/scripts/showSamples.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14Introduce a new EXPERIMENTAL feature: BARE_METAL.Yann E. MORIN"9-30/+112
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library. Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal. Move the compiler build script to its own sub-directory. Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal. Update the ARM target tuples to enable bare-metal targets. Add two ARM bare-metal samples. Add latest Linux kernel versions. /trunk/scripts/build/kernel/none.sh | 77 6 71 0 +---- /trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++- /trunk/scripts/build/libc/none.sh | 513 9 504 0 +----------------------------- /trunk/scripts/crosstool.sh | 17 9 8 0 + /trunk/scripts/functions | 6 4 2 0 + /trunk/scripts/showSamples.sh | 6 3 3 0 /trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++ /trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++ /trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++-- /trunk/config/kernel.in | 9 8 1 0 + /trunk/config/toolchain.in | 1 1 0 0 + /trunk/config/cc/gcc.in | 3 3 0 0 + /trunk/config/debug/dmalloc.in | 1 1 0 0 + /trunk/config/debug/gdb.in | 4 3 1 0 + /trunk/config/debug/strace.in | 1 1 0 0 + /trunk/config/debug/duma.in | 1 1 0 0 + /trunk/config/cc.in | 8 8 0 0 + /trunk/config/target.in | 13 13 0 0 + /trunk/config/binutils.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 1 1 0 0 + /trunk/config/libc.in | 17 11 6 0 + /trunk/arch/arm/functions | 3 1 2 0 - 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-10Remove the now really obsolete Linux kernel headers copy and sanitised.Yann E. MORIN"4-210/+85
Remove orphanned Linux kernel patchsets. Initiate a kernel build scripts directory. Move the Linux kernel build script there. /trunk/scripts/build/kernel/linux.sh | 146 11 135 0 +++--------------------------------------- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/steps.mk | 1 0 1 0 - /trunk/config/kernel/linux.in | 49 0 49 0 -------------- /trunk/config/kernel.in | 4 4 0 0 + 5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-04Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.Yann E. MORIN"1-2/+7
/trunk/scripts/showSamples.sh | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-02Beautify samples listing.Yann E. MORIN"1-4/+4
/trunk/scripts/showSamples.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02Warn the user if he/she recalls a sample with EXPERIMENTAL features.Yann E. MORIN"1-3/+9
Also, print the EXPERIMENTAL status when listing the samples. /trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++--- /trunk/samples/samples.mk | 12 12 0 0 ++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-)
2008-09-02Add support for building Insight instead of gdb (only for the cross-gdb).Yann E. MORIN"1-7/+55
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++----- /trunk/config/debug/gdb.in | 13 13 0 0 +++++++++ 2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-01Be gentle to older findutils that don't have the "{} +" construct, and ↵Yann E. MORIN"1-1/+1
simply use "{} \;" instead. /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26Enable glibc to include support for kernel versions different than the ↵Yann E. MORIN"2-3/+3
version from the kernel headers. Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch. /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 +- /trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- /trunk/config/libc/glibc-eglibc-common.in | 44 44 0 0 +++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-)
2008-08-26Missed one variable when converting to common options for eglibc and glibc ↵Yann E. MORIN"1-1/+1
(thanks Nate Case). /trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26Commonalise options common to both glibc and eglibc.Yann E. MORIN"1-3/+3
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +- /trunk/config/libc/glibc.in | 63 2 61 0 +--------------------------------- /trunk/config/libc/eglibc.in | 61 1 60 0 +-------------------------------- /trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 + /trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 124 deletions(-)
2008-08-25Also dump the GMP and MPFR versions when dumping a sample in verbose mode.Yann E. MORIN"1-0/+3
/trunk/scripts/showSamples.sh | 3 3 0 0 +++ 1 file changed, 3 insertions(+)
2008-08-25Allow using ash as the shell for ./configure and make.Yann E. MORIN"1-0/+4
After an idea by "Martin Guy" <martinwguy@yahoo.it>: http://sourceware.org/ml/crossgcc/2008-08/msg00037.html /trunk/scripts/crosstool.sh | 4 4 0 0 ++++ /trunk/config/global/build-behave.in | 14 14 0 0 ++++++++++++++ 2 files changed, 18 insertions(+)
2008-08-20Fix building older gdb's with newer gcc's.Yann E. MORIN"1-0/+2
/trunk/scripts/build/debug/300-gdb.sh | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-08-17Log retrieved file emssages to DEBUG level, not EXTRA.Yann E. MORIN"2-4/+4
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +- /trunk/scripts/functions | 6 3 3 0 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-17MPFR: log autotools files rebuilding to DEBUG level, not EXTRA.Yann E. MORIN"1-1/+1
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-12Fix saving and using local copy of eglibc tarballs.Yann E. MORIN"1-5/+5
/trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
2008-08-12Merge the static and shared core gcc builds.Yann E. MORIN"1-131/+64
/trunk/scripts/build/cc_gcc.sh | 195 64 131 0 ++++++++++++++++-------------------------------- 1 file changed, 64 insertions(+), 131 deletions(-)
2008-08-12Be a little less verbose when retrieving files if they are already present.Yann E. MORIN"1-5/+2
Be a little less verbose when extracting (and patching) files. /trunk/scripts/functions | 7 2 5 0 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
2008-08-11Merge the branches/eglibc stuff:Yann E. MORIN"2-2/+287
- Add support for eglibc /trunk/scripts/functions | 6 4 2 0 ++++-- /trunk/docs/CREDITS | 1 1 0 0 + /trunk/config/libc.in | 12 12 0 0 ++++++++++++ /trunk/arch/arm/functions | 4 2 2 0 ++-- 4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11Move two log messages around, so that output looks better.Yann E. MORIN"1-2/+2
/trunk/scripts/functions | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-09Do not unset http_proxy, ftp_proxy and https_proxy in case of using a socks ↵Yann E. MORIN"1-4/+2
proxy. Add a log message. /trunk/scripts/functions | 6 2 4 0 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
2008-08-09Merge #920 from branches/eglibc:Yann E. MORIN"1-8/+6
Fix saving tarballs locally in case downloads are forced. /trunk/scripts/functions | 14 6 8 0 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
2008-08-09Merge #916 from branches/eglibc:Yann E. MORIN"1-17/+18
Use a little bit more of CT_DoExecLog. /trunk/scripts/functions | 35 18 17 0 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-)
2008-08-09Merge #914 from branches/eglibc:Yann E. MORIN"1-2/+3
Fix setting the proxy. /trunk/scripts/functions | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-08-09Merge #911 from banches/eglibc:Yann E. MORIN"1-1/+1
Fix testing for tool's presence. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07Introduce four new ARCH specific variables that CT_DoArchValues can set if ↵Yann E. MORIN"2-2/+4
they want: - CT_ARCH_CC_CORE_EXTRA_CONFIG - CT_ARCH_CC_EXTRA_CONFIG - CT_ARCH_TARGET_CLFAGS - CT_ARCH_TARGET_LDFLAGS This will hopefully enable architectures to specify specific flags. PowerPC will need them to introduce SPE (coming RSN). /trunk/scripts/crosstool.sh | 2 2 0 0 ++ /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/docs/overview.txt | 45 22 23 0 ++++++++++++++++++++++----------------------- /trunk/config/target.in | 10 10 0 0 ++++++++++ 4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07Add a new config knob for gcc: usage of SJLJ to handle exceptions.Yann E. MORIN"1-3/+5
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc). /trunk/config/cc/gcc.in | 41 39 2 0 +++++++++++++++++++++++++++++++++++++++-- /trunk/scripts/build/cc_gcc.sh | 8 5 3 0 +++++--- 2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07Fix building core C compiler.Yann E. MORIN"1-53/+47
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers. In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake. This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested). /trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-)