summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-29Rework the way EXPERIMENTAL architecture are marked as such, the same way ↵Yann E. MORIN"5-22/+24
kernels are handeld. Fix marking EXPERIMENTAL kernel when using --prefix. /trunk/kconfig/kconfig.mk | 44 22 22 0 ++++++++++++++++++++++---------------------- /trunk/arch/ia64/config.in | 1 1 0 0 + /trunk/arch/sh/config.in | 1 1 0 0 + 3 files changed, 24 insertions(+), 22 deletions(-)
2008-09-29Rework the way EXPERIMENTAL kernels are marked as such.Yann E. MORIN"3-26/+73
/trunk/kconfig/kconfig.mk | 51 25 26 0 ++++++++++++++++++++++---------------------- /trunk/docs/overview.txt | 47 47 0 0 +++++++++++++++++++++++++++++++++++++++++ /trunk/config/kernel/bare-metal.in | 1 1 0 0 + 3 files changed, 73 insertions(+), 26 deletions(-)
2008-09-29The IA64 sample builds again! :-)Yann E. MORIN"2-60/+80
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 140 80 60 0 ++++++++++++++---------- 1 file changed, 80 insertions(+), 60 deletions(-)
2008-09-29Update the Alpha sample.Yann E. MORIN"1-63/+74
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 137 74 63 0 ++++++++++--------- 1 file changed, 74 insertions(+), 63 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-29Don't check for autoconf >= 2.50.Yann E. MORIN"1-1/+0
It was needed by glibc and eglibc to re-generate their 'configure' files, but they no longer do (in fact never did). /trunk/configure | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-09-28Had a new known issue: ccache will break the build because we're sym-linking ↵Yann E. MORIN"1-4/+21
to have our own compiler for host and build systems, but that screws up ccache finding the real compiler. There is no fix, so the only way to inform the users is to document it: remove ccache. /trunk/docs/known-issues.txt | 25 21 4 0 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-)
2008-09-28In the glibc and eglibc trees, the 'configure' files may be older than their ↵Yann E. MORIN"3-79/+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-28Move around the BARE_METAL config entry outside of the bare metal /kernel/ ↵Yann E. MORIN"2-8/+10
entry: there might be different setups that causes a bare metal compiler. /trunk/config/kernel/bare-metal.experimental.in | 12 4 8 0 ++++-------- /trunk/config/kernel.in | 6 6 0 0 ++++++ 2 files changed, 10 insertions(+), 8 deletions(-)
2008-09-28This PowerPC sample has been updated to use gcc-4.3.2.Yann E. MORIN"1-4/+6
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config | 10 6 4 0 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
2008-09-28Remove gcc-4.3.2 dependency on EXPERIMENTAL.Yann E. MORIN"1-2/+1
/trunk/config/cc/gcc.in | 3 1 2 0 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-28The first sample to use gcc-4.3.2.Yann E. MORIN"1-4/+5
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 9 5 4 0 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
2008-09-28Don't remove files that are no longer generated whne cleaning in kconfig/ .Yann E. MORIN"1-1/+0
/trunk/kconfig/kconfig.mk | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-09-28Simplify conf and mconf generation. We don't care for the _shipped stuff.Yann E. MORIN"4-4/+0
/trunk/kconfig/kconfig.mk | 4 0 4 0 ---- 1 file changed, 4 deletions(-)
2008-09-28Fix generated debug.in and tools.in (xlcwu <xlcwu.taiwan@gmail.com>).Yann E. MORIN"1-4/+4
Some cosmetics at the same time. /trunk/kconfig/kconfig.mk | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-26Enhance ./configure tools checking.Yann E. MORIN"1-34/+61
Add check for compatible autoconf. /trunk/configure | 95 61 34 0 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 34 deletions(-)
2008-09-25Update the sstrip help entries. Courtesy "Joachim Nilsson" ↵Yann E. MORIN"1-4/+5
<joachim.nilsson@vmlinux.org>. /trunk/config/tools/sstrip.in | 9 5 4 0 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
2008-09-25Add latest gcc-4.3.2 as EXPERIMENTAL, using the 4.3.1 re-based patchset.Yann E. MORIN"26-0/+1091
/trunk/config/cc/gcc.in | 7 7 0 0 ++ /trunk/patches/gcc/4.3.2/280-c99-complex-ugly-hack.patch | 8 4 4 0 +- /trunk/patches/gcc/4.3.2/250-sh-pr24836.patch | 16 8 8 0 ++-- /trunk/patches/gcc/4.3.2/340-make-mno-spe-work-as-expected.patch | 43 19 24 0 ++++++-------- /trunk/patches/gcc/4.3.2/130-cross-compile.patch | 20 10 10 0 +++--- 5 files changed, 48 insertions(+), 46 deletions(-)
2008-09-23Update this ARM sample.Yann E. MORIN"1-61/+70
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 131 70 61 0 +++++++++++---------- 1 file changed, 70 insertions(+), 61 deletions(-)
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-23Update the PowerPC SPE samle:Yann E. MORIN"1-9/+8
- don't DEBUG crosstool-NG and don't save intermediate steps - use released version of binutils rather than snapshots. /trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config | 17 8 9 0 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)
2008-09-23Allow fully qulified file name in tools to check for.Yann E. MORIN"1-17/+13
Simplify checking for bash. /trunk/configure | 30 13 17 0 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-)
2008-09-23Udate the PowerPC SPE sample.Yann E. MORIN"1-72/+81
/trunk/samples/powerpc-unknown-linux-gnuspe/crosstool.config | 153 81 72 0 ++++++++++-------- 1 file changed, 81 insertions(+), 72 deletions(-)
2008-09-22Make eglibc build on systems where both autoconf-2.13 and autoconf-2.50 are ↵Yann E. MORIN"2-0/+93
installed (such as Debian). /trunk/patches/eglibc/2_8/110-AC_PREREQ-2.50.patch | 78 78 0 0 ++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+)
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-22Add binutils-2.18.50.0.9.Yann E. MORIN"14-0/+639
Add a patch to binutils to not use '/' as a comment separator on i386 assembly when targeting bare metal (breaks linux kernel build). /trunk/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.14/110-i386-no-divide-comment.patch | 38 38 0 0 ++++++ /trunk/patches/binutils/2.14/270-i386-no-divide-comment.patch | 38 38 0 0 ++++++ /trunk/patches/binutils/2.16.1/160-i386-no-divide-comment.patch | 40 40 0 0 ++++++ /trunk/patches/binutils/2.17/210-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18/120-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/config/binutils.in | 6 6 0 0 + 11 files changed, 570 insertions(+)
2008-09-18Move snapshots version after numbered versions (aka releases).Yann E. MORIN"4-32/+36
/trunk/config/debug/gdb.in | 13 7 6 0 +++++++------ /trunk/config/libc/glibc.in | 21 11 10 0 +++++++++++---------- /trunk/config/libc/uClibc.in | 21 11 10 0 +++++++++++---------- /trunk/config/libc/eglibc.in | 13 7 6 0 +++++++------ 4 files changed, 36 insertions(+), 32 deletions(-)
2008-09-16Generate the kernel config choice, rather than having it hard-coded:Yann E. MORIN"6-68/+109
- 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-16Don't advertise 'xconfig' as a config rule.Yann E. MORIN"1-1/+1
/trunk/kconfig/conf.c | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15Fix architecture config file make rules.Yann E. MORIN"1-1/+1
/trunk/kconfig/kconfig.mk | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15Move all the Linux kernel config options to a single file (to ease ↵Yann E. MORIN"4-308/+232
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-15Code-reorder in the Linux kernel config options.Yann E. MORIN"1-17/+15
/trunk/config/kernel/linux.in | 32 15 17 0 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-)
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-15Make bare-metal a kernel selection.Yann E. MORIN"2-21/+14
/trunk/config/kernel.in | 22 14 8 0 ++++++++++++++-------- /trunk/config/target.in | 13 0 13 0 ------------- 2 files changed, 14 insertions(+), 21 deletions(-)
2008-09-14Update and clarify COPYING (plus a typo).Yann E. MORIN"1-2/+7
/trunk/COPYING | 9 7 2 0 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-14Enhance setting the minimum kernel version glibc will run against.Yann E. MORIN"7-53/+145
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"25-77/+640
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-11Update config.sub.Yann E. MORIN"1-3/+7
/trunk/tools/config.sub | 10 7 3 0 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
2008-09-11Fix auto-completion for updaetools.Yann E. MORIN"1-1/+1
/trunk/ct-ng.comp | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-10Remove the now really obsolete Linux kernel headers copy and sanitised.Yann E. MORIN"38-3945/+89
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-05SPE ABI is no longer EXPERIMENTAL.Yann E. MORIN"1-2/+1
/trunk/arch/powerpc/config.in | 3 1 2 0 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
2008-09-05Update this sample without EXPERIMENTAL features as much as possible.Yann E. MORIN"1-6/+6
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 12 6 6 0 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
2008-09-05Update the PPC sample to not use EXPERIMENTAL features.Yann E. MORIN"1-24/+28
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 52 28 24 0 +++++++++++---------- 1 file changed, 28 insertions(+), 24 deletions(-)
2008-09-05Update docs/overview.txt with the script shell fragment that defines bash ↵Yann E. MORIN"1-0/+14
completion. /trunk/docs/overview.txt | 14 14 0 0 ++++++++++++++ 1 file changed, 14 insertions(+)
2008-09-05Mark the IA64 sample as being broken (might be because it uses an old gcc, ↵Yann E. MORIN"1-0/+0
that triggers a incorrect code-path in scripts/build/cc_gcc.sh).
2008-09-05Add completion for crosstool-NG.Yann E. MORIN"1-0/+30
To be sourced by a bash-compatible shell startup script; ideally, to be installed in /etc/bash_completion.d/ /trunk/ct-ng.comp | 30 30 0 0 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
2008-09-05Update the teo MIPS sample to use as less EXPERIMENTAL features as possible.Yann E. MORIN"2-38/+52
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 39 24 15 0 ++++++++++------ /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 51 28 23 0 ++++++++++++--------- 2 files changed, 52 insertions(+), 38 deletions(-)