summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-23Push the calculation of the tuple's kernel part down to kernel's build scripts:Yann E. MORIN"5-29/+40
- update the kernel script's API with the function CT_DiKernelTupleValues - update doc accordingly (also with the architecture change, missing in the previous commit) - small clean-up in the main script, remove useless test /trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++ /trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++ /trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------ /trunk/scripts/functions | 15 8 7 0 ++++++++------- /trunk/docs/overview.txt | 13 9 4 0 +++++++++---- 5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23Architecture API change:Yann E. MORIN"9-13/+15
- rename the tuple function /trunk/scripts/build/arch/mips.sh | 2 1 1 0 +- /trunk/scripts/build/arch/sh.sh | 2 1 1 0 +- /trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +- /trunk/scripts/build/arch/arm.sh | 2 1 1 0 +- /trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +- /trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +- /trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +- /trunk/scripts/build/arch/x86.sh | 2 1 1 0 +- /trunk/scripts/functions | 12 7 5 0 +++++++----- 9 files changed, 15 insertions(+), 13 deletions(-)
2008-10-22Rename a patch: typo.Yann E. MORIN"1-0/+0
2008-10-22Make Super-H finally compile a complete (C-only) toolchain:Yann E. MORIN"7-0/+479
- new, un-tested patches - an sh4 sample to work on, and to try to reproduce later. /trunk/patches/glibc/2.7/250-sh-chop-linux-version.patch | 49 49 0 0 ++ /trunk/patches/glibc/2.7/240-sh-lowlevellock-asm.patch | 56 56 0 0 +++ /trunk/patches/glibc/2.7/270-sh-fix-procfs.patch | 11 11 0 0 + /trunk/patches/glibc/2.7/280-sh-fix-kernel-heders-location.patch | 23 23 0 0 + /trunk/patches/glibc/2.7/260-sh-syscall-error-path.patch | 26 26 0 0 + /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 311 311 0 0 ++++++++++++++ /trunk/samples/sh4-unknown-linux-gnu/reported.by | 3 3 0 0 + 7 files changed, 479 insertions(+)
2008-10-22Remove an unwanted SuperH chunk from an Alpha patch.Yann E. MORIN"1-23/+0
/trunk/patches/glibc/2.7/190-alpha-asm_elf.patch | 23 0 23 0 ----------------------- 1 file changed, 23 deletions(-)
2008-10-22Remove the ppc-405fp sample, replace with a ppc-405 sample (405fp has an ↵Yann E. MORIN"3-8/+13
FPU, 405 does not). Thanks to Julien DUSSER for reporting this. /trunk/samples/powerpc-405-linux-gnu/crosstool.config | 343 343 0 0 +++++++++++++++++++++++++ /trunk/samples/powerpc-405-linux-gnu/reported.by | 3 3 0 0 + 2 files changed, 346 insertions(+)
2008-10-22Enhance the kconfig stuff build procedure:Yann E. MORIN"1-44/+66
- better allocate CFLAGS/LDFLAGS to object and dependency files - only include the needed dependency files - cleanly handle the kconfig/ check and creation - use HOST_LD to link, not HOST_CC (even if both are set to 'gcc' for now) - get rid of defoldconfig, it does not make much sense using it. /trunk/kconfig/kconfig.mk | 110 66 44 0 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 66 insertions(+), 44 deletions(-)
2008-10-21Add a 405fp soft-float PowerPC sample.Yann E. MORIN"3-1/+342
/trunk/scripts/saveSample.sh | 2 1 1 0 /trunk/samples/powerpc-405fp-linux-gnu/crosstool.config | 338 338 0 0 +++++++++++++++++++++++ /trunk/samples/powerpc-405fp-linux-gnu/reported.by | 3 3 0 0 + 3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21Add a glibc-2.6.1 patch for PPC soft-float.Yann E. MORIN"1-0/+21
http://sourceware.org/ml/crossgcc/2008-10/msg00044.html /trunk/patches/glibc/ports-2.6.1/130-powerpc-softfloat.patch | 21 21 0 0 ++++++++++++++++++ 1 file changed, 21 insertions(+)
2008-10-21Fix using only custom patches.Yann E. MORIN"1-1/+1
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21Fix paths in a glibc-ports-2.6.1 patch.Yann E. MORIN"1-12/+12
http://sourceware.org/ml/crossgcc/2008-10/msg00041.html /trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch | 24 12 12 0 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-)
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"2-4/+13
/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-21Update config.guess.Yann E. MORIN"1-2/+5
/trunk/tools/config.guess | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
2008-10-20Add strace 4.5.18:Yann E. MORIN"8-0/+243
- propagated the 4.5.16 patch set - EXPERIMENTAL, as it does not build on at least ARM /trunk/patches/strace/4.5.18/160-undef-syscall.patch | 22 0 22 0 ---------------------- /trunk/config/debug/strace.in | 6 6 0 0 ++++++ 2 files changed, 6 insertions(+), 22 deletions(-)
2008-10-20Correctly handle the minimum supported kernel version in glibc.Yann E. MORIN"1-39/+39
Should be propagated to eglibc as well... /trunk/scripts/build/libc/glibc.sh | 78 39 39 0 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-)
2008-10-20Offer a single option for the glibc/eglibc add-ons selection, rather than ↵Yann E. MORIN"1-9/+0
hiding it behind a toggle. If the list is empty, then there is no add-on. If the list is not empty, then there are add-ons. /trunk/config/libc/glibc-eglibc.in-common | 9 0 9 0 --------- 1 file changed, 9 deletions(-)
2008-10-19Add the latest Linux kernel 2.6.27.2.Yann E. MORIN"1-0/+5
/trunk/config/kernel/linux.in | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2008-10-19Add the latest Linux kernel 2.6.27.1.Yann E. MORIN"1-0/+5
/trunk/config/kernel/linux.in | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2008-10-19Avoid (re)building the kconfig dependencies when we don't need them (clean, ↵Yann E. MORIN"1-4/+20
build, list-steps...). /trunk/kconfig/kconfig.mk | 24 20 4 0 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-)
2008-10-18Extract the config files related stuff from the kconfig stuffYann E. MORIN"3-172/+189
- 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-17Fix saving samples when the uClibc config file is already saved.Yann E. MORIN"3-71/+76
/trunk/scripts/saveSample.sh | 4 2 2 0 /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 140 71 69 0 ++++++++------- /trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by | 3 3 0 0 + 3 files changed, 76 insertions(+), 71 deletions(-)
2008-10-17Update the kconfig stuff to match the one in the linux-2.6.27 version.Yann E. MORIN"24-1286/+1759
/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-17Fix oldconfig and defoldconfig.Yann E. MORIN"1-2/+2
Thanks Thomas Petazzoni for noticing the breakage. /trunk/kconfig/kconfig.mk | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 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"5-90/+140
- 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-15Update the OpenRISC or32 contrib to correctly set EXPERIMENTAL.Yann E. MORIN"1-0/+0
/trunk/copy) |binary 1 file changed
2008-10-15Update the OpenRISC or32 contribution to match the new architecture layout.Yann E. MORIN"1-0/+0
/trunk/copy) |binary 1 file changed
2008-10-15Fix configure's --with-contrib option.Yann E. MORIN"1-2/+2
/trunk/configure | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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"17-22/+73
- 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-14Correctly auto-complete with start-steps as well.Yann E. MORIN"1-1/+1
/trunk/ct-ng.comp | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-14Use a function to retrieve a sample directory.Yann E. MORIN"1-10/+9
/trunk/samples/samples.mk | 19 9 10 0 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-)
2008-10-14Eye-candy in the help entries.Yann E. MORIN"3-7/+7
/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-10-14Credit Nate CASE for his powerpc e500v2 sample.Yann E. MORIN"1-0/+2
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-10-14Sample config for e500v2 toolchainYann E. MORIN"1-93/+42
On Tuesday 14 October 2008 17:05:31 Nate Case wrote: > This is a sample config file for Freescale e500v2 processors (e.g., > MPC8548, MPC8572). It uses eglibc (for e500/SPE patches) and a recent > gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate > dual-precision floating point instructions by default. > > Note: If building a Linux kernel with this toolchain, you will want to > make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE > ABI/instructions from getting into the kernel (which is currently > unsupported). At this time, the kernel build system only passes > -mno-spe by default (this should be fixed soon hopefully). > > A binutils snapshot is used to fix a bug present in 2.18 preventing > U-Boot from being compiled (CodeSourcery issue #2297: internal.h > (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of > memory). Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it. /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 307 307 0 0 +++++++++++++++++++ 1 file changed, 307 insertions(+)
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-14Rework the kconfig stuffYann E. MORIN"1-60/+100
- better handle config file generation dependencies - get rid of CT_TOP_DIR where useless - rearrange code to be cleaner, and add adequate '#----' comments to split the different parts - a few eye-candy here and there /trunk/kconfig/kconfig.mk | 158 99 59 0 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 99 insertions(+), 59 deletions(-)
2008-10-13No one sane would you 'ct-ng config' to configure crosstool-NG.Yann E. MORIN"2-7/+3
Remove this useless rule. /trunk/kconfig/kconfig.mk | 8 2 6 0 ++------ /trunk/ct-ng.comp | 2 1 1 0 +- 2 files changed, 3 insertions(+), 7 deletions(-)
2008-10-13Missed adding new files because of old svn:ignore property (removed).Yann E. MORIN"2-0/+6
/trunk/config/debug.in | 3 3 0 0 +++ /trunk/config/tools.in | 3 3 0 0 +++ 2 files changed, 6 insertions(+)
2008-10-13Generate the choice menu for C compilers, the same way arch, kernels and C ↵Yann E. MORIN"3-28/+22
libraries are generated. /trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++ /trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++ /trunk/config/cc.in | 31 3 28 0 +++---------------------------- 3 files changed, 22 insertions(+), 28 deletions(-)
2008-10-13Generate the choice menu for C libraries, the same way arch and kernels are ↵Yann E. MORIN"7-70/+36
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-13Add latest binutils versions.Yann E. MORIN"1-0/+30
/trunk/config/binutils.in | 30 30 0 0 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)
2008-10-12In generated choice menus, move the selection options outside the choice menu.Yann E. MORIN"3-37/+35
/trunk/kconfig/kconfig.mk | 60 35 25 0 +++++++++++++++++++++++++++++++---------------------- /trunk/config/kernel.in | 6 0 6 0 ----- /trunk/config/target.in | 6 0 6 0 ----- 3 files changed, 35 insertions(+), 37 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-12Update the auto-completion function:Yann E. MORIN"1-3/+3
- be silent in case of errors - also suggest 'build.' /trunk/ct-ng.comp | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2008-10-12On 20081011, Khem RAJ writes:Yann E. MORIN"7-0/+182
You have to bar gcc trying to build unwinding at stage 1. /trunk/patches/gcc/4.2.0/290-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.2.1/290-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.2.2/290-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.3.1/350-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.2.3/310-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.3.2/350-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ /trunk/patches/gcc/4.2.4/310-sh-without-headers.patch | 26 26 0 0 ++++++++++++++++++++++++++ 7 files changed, 182 insertions(+)
2008-10-10Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"21-134/+74
- 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(-)