summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2009-02-02Fix 'extracting' sstrip. Thanks to Michael ABBOTT for spotting this.Yann E. MORIN"1-1/+1
/branches/1.3/scripts/build/tools/200-sstrip.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-27Backport 1315 from .trunk:Yann E. MORIN"1-0/+5
- Fix building ltrace on PowerPC /branches/1.3/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2009-01-27Backport #1303 from /trunk:Yann E. MORIN"1-57/+43
- Fix initialising the workspace /branches/1.3/scripts/crosstool.sh | 100 43 57 0 ++++++++++++++++++++++----------------------------- 1 file changed, 43 insertions(+), 57 deletions(-)
2009-01-27Backport #1301 from /trunk, in a different manner due to underlying ↵Yann E. MORIN"1-3/+3
infrastructure changes: - the URL to retrieve sstrip (from buldroot) has changed /branches/1.3/scripts/build/tools/200-sstrip.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2009-01-27Backport #1288 from /trunk:Yann E. MORIN"1-1/+1
- Fix aborting when neither wget nor curl are present /branches/1.3/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-27Backpot @1279 from /trunk:Yann E. MORIN"1-1/+0
- Remove spurious line in gcc script /branches/1.3/scripts/build/cc/gcc.sh | 1 0 1 0 - 1 file changed, 1 deletion(-)
2008-12-03Backport #1256 from trunk/:Yann E. MORIN"1-2/+2
- Use the dedicated function CT_DoConfigSub rather than invoking config.sub directly. /branches/1.3/scripts/crosstool.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2008-11-28Backport #1249 from trunk:Yann E. MORIN"1-22/+7
- Canonicalise CT_BUILD and CT_HOST /branches/1.3/scripts/crosstool.sh | 29 7 22 0 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-)
2008-11-28Backport #1248 from trunk:Yann E. MORIN"1-1/+4
- Make it easy to use \n (fixes missing 'n' at the end of on log lines) /branches/1.3/scripts/functions | 5 4 1 0 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
2008-11-24Build dmalloc with -fPIC to sucessfully build the shared library with newer ↵Yann E. MORIN"1-0/+1
binutils. /trunk/scripts/build/debug/100-dmalloc.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-11-20Overide locale to C so as to have readable logs.Yann E. MORIN"1-3/+7
Offer a DEBUG & EXPERIMENTAL setting to not overide locale. /trunk/scripts/crosstool.sh | 10 7 3 0 +++++++--- /trunk/config/global/ct-behave.in | 17 17 0 0 +++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-)
2008-11-20MPFR: correctly re-install config.{guess,sub} with autotools >=2.0.0.Yann E. MORIN"1-1/+13
/trunk/scripts/build/mpfr.sh | 14 13 1 0 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
2008-11-19Do not mangle Cygwin tuples.Yann E. MORIN"1-0/+5
/trunk/scripts/crosstool.sh | 5 5 0 0 +++++ 1 file changed, 5 insertions(+)
2008-11-17Build and install a uClibc cross-ldd.Yann E. MORIN"1-1/+27
Based on a patch by Joachim NILSSON: http://sourceware.org/ml/crossgcc/2008-11/msg00025.html /trunk/scripts/build/libc/uClibc.sh | 28 27 1 0 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)
2008-11-14Add a fast Linux kernel mirror.Yann E. MORIN"1-1/+1
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-13Merge #1195, #1196 and #1203 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"7-74/+131
- Get rid of CT_CC_NATIVE - Get rid of CT_CANADIAN_OPT - Sanitise CT_BUILD vs. CT_HOST /trunk/scripts/build/tools/200-sstrip.sh | 4 2 2 0 /trunk/scripts/build/binutils.sh | 1 0 1 0 - /trunk/scripts/build/cc/gcc.sh | 11 6 5 0 +- /trunk/scripts/build/debug/200-duma.sh | 3 1 2 0 - /trunk/scripts/build/libc/glibc.sh | 10 5 5 0 +- /trunk/scripts/build/libc/eglibc.sh | 8 4 4 0 +- /trunk/scripts/crosstool.sh | 168 113 55 0 ++++++++++++++++++++++++++------------ /trunk/config/toolchain.in | 160 137 23 0 +++++++++++++++++++++++++++++++----- 8 files changed, 268 insertions(+), 97 deletions(-)
2008-11-07Do not autodetect 64-bit archs, have them tell be 'select'-ing ARCH_64 in ↵Yann E. MORIN"1-7/+5
the configuration. /trunk/scripts/crosstool.sh | 12 5 7 0 +++++------- /trunk/docs/overview.txt | 6 6 0 0 ++++++ /trunk/config/target.in | 4 4 0 0 ++++ /trunk/config/arch/x86_64.in | 1 1 0 0 + /trunk/config/arch/ia64.in | 1 1 0 0 + 5 files changed, 17 insertions(+), 7 deletions(-)
2008-11-07Do not take lib64/ in account when fixing the glibc linker scripts:Yann E. MORIN"1-1/+3
- lib64 dirs are symlinks to the corresponding lib/ dirs. /trunk/scripts/build/libc/glibc.sh | 4 3 1 0 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
2008-11-04Use target GMP and MPFR when building target binutils:Yann E. MORIN"1-0/+7
- this is not really used yet, as only the iberty and bfd libraries are built - if we ever are to build the full binutils for the target, then it is already configured to use the target GMP and MPFR. /trunk/scripts/build/binutils.sh | 7 7 0 0 +++++++ 1 file changed, 7 insertions(+)
2008-11-04Merge #1190 from /devel/YEM-build_host_target_cleanup:Yann E. MORIN"1-6/+14
- Use shell wrappers to point to the build tools, rather than symlinks. /trunk/scripts/crosstool.sh | 20 14 6 0 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-)
2008-11-01Enable uClibc parallel build for those versions supporting it.Yann E. MORIN"1-5/+7
/trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++----- /trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++ 2 files changed, 16 insertions(+), 5 deletions(-)
2008-11-01Enablelocales when requested to do so.Yann E. MORIN"1-1/+9
Original patch by Thomas PETAZZONI, with soe improvement by myself. /trunk/scripts/build/libc/uClibc.sh | 10 9 1 0 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
2008-11-01Only install headers when installing uClibc headers.Yann E. MORIN"1-5/+5
/trunk/scripts/build/libc/uClibc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
2008-11-01Eyecandy in the WiKi table.Yann E. MORIN"1-8/+12
/trunk/scripts/showSamples.sh | 20 12 8 0 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
2008-10-31Indent the samples list.Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-31Transform LAN_MIRROR into plain MIRROR:Yann E. MORIN"1-29/+16
- it does not have to be in the LAN - offer mirror preference over upstream - if selected, the mirror will be scanned before upstream servers - if not selected, upstream servers will be scanned before the mirror - I've set up such an internet-accessible mirror - uClibc snapshot available - MPFR releases available (the MPFR site is down from time to time) - update all samples to use my mirror as a failover /trunk/scripts/functions | 45 16 29 0 +++++-------- /trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-elf/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 8 7 1 0 ++ /trunk/samples/i686-nptl-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/i586-geode-linux-uclibc/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-405-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/arm-unknown-eabi/crosstool.config | 8 7 1 0 ++ /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 8 7 1 0 ++ /trunk/config/global/download.in | 42 25 17 0 +++++++----- 27 files changed, 216 insertions(+), 71 deletions(-)
2008-10-29Use 'gawk', not plain 'awk'.Yann E. MORIN"3-11/+11
We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'. Be a little mre verbose if a tool was not found. /trunk/configure | 7 4 3 0 ++++--- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/functions | 16 8 8 0 ++++++++-------- /trunk/scripts/saveSample.sh | 4 2 2 0 ++-- 4 files changed, 15 insertions(+), 14 deletions(-)
2008-10-29Finally enable the PPC-8xx memset workaround, by Nye Liu.Yann E. MORIN"1-0/+9
http://sourceware.org/ml/crossgcc/2008-10/msg00094.html /trunk/scripts/build/libc/glibc.sh | 9 9 0 0 + /trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch | 22 19 3 0 + /trunk/samples/powerpc-860-linux-gnu/crosstool.config | 344 344 0 0 +++++++++++++++++++ /trunk/samples/powerpc-860-linux-gnu/reported.by | 3 3 0 0 + 4 files changed, 375 insertions(+), 3 deletions(-)
2008-10-28Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.Yann E. MORIN"1-1/+1
This helps those who want to relocate their toolchains later. Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html /trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27Typo.Yann E. MORIN"1-1/+1
/trunk/scripts/showSamples.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-26ltrace: remove lingering ".Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-26ltrace does not build out-of-tree: use copied sources to configure.Yann E. MORIN"1-4/+4
/trunk/scripts/build/debug/400-ltrace.sh | 8 4 4 0 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2008-10-24Make ltrace finally build:Yann E. MORIN"1-2/+3
- copy sources to build directory, as it does not build out-of-tree - add a patch to make it build for non *-linux-gnu host tuples - add a patch to make it cross-build correctly /trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch | 26 26 0 0 +++ /trunk/patches/ltrace/0.4/110-allow-cross-compile.patch | 89 89 0 0 ++++++++++ /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 + 3 files changed, 118 insertions(+), 2 deletions(-)
2008-10-23Fix saving samples, by Nye Liu:Yann E. MORIN"1-1/+2
http://sourceware.org/ml/crossgcc/2008-10/msg00070.html /trunk/scripts/saveSample.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
2008-10-23Push the calculation of the tuple's kernel part down to kernel's build scripts:Yann E. MORIN"4-25/+31
- 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-21Add a 405fp soft-float PowerPC sample.Yann E. MORIN"1-1/+1
/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-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-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-17Fix saving samples when the uClibc config file is already saved.Yann E. MORIN"1-2/+2
/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-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(-)