aboutsummaryrefslogtreecommitdiff
path: root/scripts/build
Commit message (Collapse)AuthorAgeFilesLines
* tools wrapper: introduce the silent WRAPPER_NEEDED config optionYann E. MORIN"2009-08-301-2/+1
| | | | | | | Add the WRAPPER_NEEDED silent config option, that can be selected by components that require it (companion libs so far). Rely on this config option when deciding to install the wrapper, instead of checking GMP/MPFR or PPL/CLoog/MPC.
* Merge the C wrapper.Yann E. MORIN"2009-08-301-3/+19
|\
| * config: choose whether to use the shell or the C wrapperYann E. MORIN"2009-08-301-3/+19
| | | | | | | | | | Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
* | duma: fix downloading by forcing extension to .tar.gzYann E. MORIN"2009-08-281-2/+5
|/ | | | | | | | | Downoading a non-existing file from sourceforge gives you a "200 OK" and an index.html. As we try to retrieve a .tar.bz2 first, and duma is bundled in a .tar.gz, we won't get appropriate content, so just force the extension to avoid the problem. Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
* glibc: fix build error caused by incorrect variable assignmentJim F2009-08-241-2/+2
| | | | | | During the conversion to using bash arrays, the glibc build script was improperly converted, and contains an incorrect variable assignment to the config_options array.
* Merge the bash_array branch.Yann E. MORIN"2009-08-196-144/+186
|\ | | | | | | | | | | For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
| * Allow setting --enable-cxx-flags on gcc ./configureYann E. MORIN"2009-08-191-0/+3
| | | | | | | | | | Some setups require one to pass extra CXX flags at the time of ./configure. Make it easy.
| * Use bash arrays to store binutils config optionsYann E. MORIN"2009-08-191-18/+26
| |
| * Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-34/+44
| | | | | | | | Change extra_config from a string to a array of options.
| * Make gdb's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-21/+28
| | | | | | | | Change extra_config from a string to a array of options.
| * Make dmalloc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-9/+10
| | | | | | | | Change extra_config from a string to a array of options.
| * Make gcc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-41/+50
| | | | | | | | Change extra_config from a string to a array of options.
| * Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-12/+14
| | | | | | | | Change extra_config from a string to a array of options.
| * [libc-eglibc] Rewrite part of the codeYann E. MORIN"2009-07-271-9/+11
| | | | | | | | | | | | | | | | | | | | | | Rewrite part of the code to better match the rest. Most notably, rewrite handling of: if [ ... ] && [ ... ] to: if [ ... -a ... ] This has the positive side effect of calling "[" only once, although "[" is probably a shell built-in.
| * [libc-eglibc] Fix testing for existing filesYann E. MORIN"2009-07-271-8/+8
| | | | | | | | | | | | | | To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]" Checking for a file exsitence with "-a" is a bashism. Althoug we _are_ using bash, it's disturbing as it can be misread as the 'and' operator. Fix by using "-f".
* | Merge the AVR32 support branch to the default branch.Yann E. MORIN"2009-08-082-0/+98
|\ \
| * | Removed debug lineMartin Lund2009-06-201-2/+0
| | |
| * | Fix libc configMartin Lund2009-06-201-3/+4
| | |
| * | Misc AVR32 cleanups.Martin Lund2009-06-201-4/+0
| | |
| * | Changed copyrightMartin Lund2009-06-141-2/+2
| | |
| * | Added support for Atmel AVR32 headersMartin Lund"2009-05-231-2/+17
| | |
| * | Temp fix for newlib configure. Updated avr32 crosstool.config.Martin Lund"2009-05-221-3/+4
| | |
| * | Added initial AVR32 support (bare-metal,newlib)Martin Lund"2009-05-222-0/+87
| | |
* | | [complib:mpfr] Fix building MPFR in some weird casesOron Peled2009-08-031-0/+9
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tmul test uses a compiled-in input file in $(srcdir). The problem is that the Makefile passes it unquoted. The C code tries to stringify it using clever macros, which may *usually* work. In my case the source directory was named: .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests And guess what? During testing I found out the program fails because it tries to open: .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests Yes, CPP tokenized the macro before stringifying it and not surprisingly the 'linux' part was converted to 1. [on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)] So the attached patch simplify the macros and pass the path as string from the Makefile.
* | Add support code for the canadian-cross case.Bart van der Meulen2009-06-261-0/+8
| | | | | | | | | | | | | | | | Add implementation for a candadian build option already present in crosstool in order to build a cross-compiler where build != host != target Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
* | Don't use prefix/bin to install the buildtools.Bart van der Meulen2009-06-261-3/+1
| | | | | | | | | | | | | | Collect the build tools in a seperate folder in order to prevent accidental calling our newly build tools. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
* | Fix MPFR build to recognise the Mingw32 case.Bart van der Meulen2009-06-231-1/+2
| | | | | | | | | | | | | | | | | | Once we have canadian in place, Mingw32 can be a legitimate host, so we have to recognise that along with Cygwin. Also fix recognising Cygwin hosts. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
* | [finish-step] Fix the tools wrappersYann E. MORIN"2009-06-181-1/+1
| | | | | | | | | | Use the correct variable when iterating upon the tools name to correctly link the tools to the wrapper.
* | [finish-step] Use local variable in finish-stepYann E. MORIN2009-06-141-4/+4
| | | | | | | | When wrapping the tools, use a local variable when iterating.
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-021-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | - ./configure: check for 'stat', needing to install the tools wrapper - wrapper: make it a POSIX-compliant script, restore relocatability - don't install the wrapper for symlinks -------- diffstat follows -------- /devel/gcc-4.4/configure | 1 1 0 0 + /devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------ /devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++--- 3 files changed, 19 insertions(+), 9 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-021-0/+19
| | | | | | | | | | | | | | | | | | - add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++ /devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++ 2 files changed, 34 insertions(+)
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-012-4/+4
| | | | | | | | | | | | | | | | | | - build shared CLooG/ppl and MPC libraries, don't build static ones. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 4 2 2 0 ++-- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-012-0/+6
| | | | | | | | | | | | | | | | | | - PPL, CLooG/PPL: remove uselessly installed files. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 3 0 0 +++ /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 3 3 0 0 +++ 2 files changed, 6 insertions(+)
* | /devel/gcc-4.4:Yann E. MORIN"2009-06-011-8/+17
| | | | | | | | | | | | | | | | - fix buildging glibc in // -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/libc/glibc.sh | 25 17 8 0 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-271-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add gcc-4.4.0 patches, vampirised from the Gentoo patchset - gcc-4.4.0 auto-selects and uses appropriate companion linraries -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 + /devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++ /devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++ /devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++ /devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++ /devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++ /devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++ /devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 + /devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++ /devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 + /devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 + 27 files changed, 1945 insertions(+), 2 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-251-20/+13
| | | | | | | | | | | | | | | | - gcc build script: no longer use the gcc-4.4 snapshot version -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/cc/gcc.sh | 33 13 20 0 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-255-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - commonalise the config-knobs that: - enable checking the newly built companion libraries - enable building the companion libraries for the target -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0 /devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +- /devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ---------- /devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ---------- /devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++-------- 11 files changed, 42 insertions(+), 85 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-253-4/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - add support for building the MPC library. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++ /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++ /devel/gcc-4.4/steps.mk | 1 1 0 0 + /devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++ /devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++--- 7 files changed, 107 insertions(+), 9 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-251-9/+2
| | | | | | | | | | | | | | | | - GMP: unconditionnaly build the C++ wrappers and use exceptions -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | - add support for building CLooG -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++ /devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++ /devel/gcc-4.4/steps.mk | 1 1 0 0 + /devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++ /devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 + 6 files changed, 99 insertions(+), 1 deletion(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-2/+2
| | | | | | | | | | | | | | | | - cleanup the PPL build -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-1/+1
| | | | | | | | | | | | | | | | - cleanup GMP build -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-3/+4
| | | | | | | | | | | | | | | | - build a shared ppl, don't build a static ppl -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 7 4 3 0 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-2/+2
| | | | | | | | | | | | | | | | - build a shared mpfr, don't build a static mpfr -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-241-3/+3
| | | | | | | | | | | | | | | | - build a shared gmp, don't build a static gmp -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
* | /devel/gcc-4.4:Yann E. MORIN"2009-05-211-1/+2
|/ | | | | | | | - add PPL download mirror at the gcc ftp site. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
* Merge the uClinux/noMMU stuff back to /trunk:Yann E. MORIN"2009-05-205-107/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - merge Linux and uClinux back to a single kernel - add ARCH_USE_MMU and acquainted config options that architectures can auto-select - make binutils and elf2flt two "Binary utilities" that go in a single common sub-{menu,directory} structure -------- diffstat follows -------- /trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 - /trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++ /trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ---------------------------- /trunk/scripts/build/binutils.sh | 232 0 232 0 -------------------------------- /trunk/scripts/build/elf2flt.sh | 150 0 150 0 --------------------- /trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 + /trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++ /trunk/config/kernel/linux.in-common | 252 0 252 0 ----------------------------------- /trunk/config/kernel/uclinux.in | 21 0 21 0 --- /trunk/config/target.in | 23 22 1 0 +++ /trunk/config/elf2flt.in | 49 0 49 0 ------- /trunk/config/libc/glibc.in | 2 1 1 0 /trunk/config/libc/eglibc.in | 2 1 1 0 /trunk/config/config.in | 1 0 1 0 - /trunk/config/arch/sh.in | 1 1 0 0 + /trunk/config/arch/arm.in | 2 1 1 0 /trunk/config/arch/powerpc.in | 1 1 0 0 + /trunk/config/arch/ia64.in | 1 1 0 0 + /trunk/config/arch/alpha.in | 1 1 0 0 + /trunk/config/arch/x86.in | 1 1 0 0 + /trunk/config/arch/mips.in | 1 1 0 0 + /trunk/config/arch/powerpc64.in | 1 1 0 0 + 22 files changed, 489 insertions(+), 913 deletions(-)
* elf2flt:Yann E. MORIN"2009-05-131-3/+3
| | | | | | | | - fix white-space damage -------- diffstat follows -------- /trunk/scripts/build/elf2flt.sh | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
* Merge the /deve/uclinux branch back to /trunk:Yann E. MORIN"2009-05-134-99/+176
| | | | | | | | | | | | | | | - add support for uClinux, the MMU-less ports of Linux. -------- diffstat follows -------- /trunk/scripts/build/kernel/linux.sh | 100 1 99 0 --------------- /trunk/steps.mk | 1 1 0 0 + /trunk/config/kernel/linux.in | 247 0 247 0 ------------------------------------- /trunk/config/kernel.in | 2 1 1 0 /trunk/config/libc/glibc.in | 2 1 1 0 /trunk/config/libc/eglibc.in | 2 1 1 0 /trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 + /trunk/config/config.in | 1 1 0 0 + 8 files changed, 11 insertions(+), 349 deletions(-)
* sstrip:Yann E. MORIN"2009-05-111-3/+8
| | | | | | | | | - update the upstream URL, now buildroot has migrated to using git instead of svn. -------- diffstat follows -------- /trunk/scripts/build/tools/200-sstrip.sh | 11 8 3 0 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)