summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
AgeCommit message (Collapse)AuthorFilesLines
2009-09-06crosstool.sh.in: better mesage when creating script-overridesYann E. MORIN"1-1/+1
2009-08-03[config] Merge CONFIG_SHELL selection.Yann E. MORIN"1-1/+1
2009-08-02[config] Allow user to specify custom CONFIG_SHELLYann E. MORIN"1-0/+1
In case the shell the user wants to use as CONFIG_SHELL is located in a weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4), let the user enter the patch to the shell.
2009-08-02[config] Add bash as a possible CONFIG_SHELLYann E. MORIN"1-0/+1
On some systems and/or for some components, it may be necessary to explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02[config] Change the way to select the CONFIG_SHELLYann E. MORIN"1-3/+9
Transform the single boolean option to a 'choice' selection with two options: "sh" and "ash". This is needed to later add "bash" as override.
2009-08-02Add g++ to required toolsBart vdr. Meulen1-1/+1
Because gmp is now always build with --enable-cxx, g++ has become a required tool Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com> ---
2009-06-26Cleanup the handling of canadian settingsYann E. MORIN"1-6/+11
Bring handling the 'canadian' settings as par with the existing 'cross' settings.
2009-06-26Add support code for the canadian-cross case.Bart van der Meulen1-3/+13
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>
2009-06-26Don't use prefix/bin to install the buildtools.Bart van der Meulen1-6/+7
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>
2009-06-23Use configured shell in all build-tools wrappersYann E. MORIN"1-8/+8
Abide by the user's wish to use dash as shell in build-tools wrappers, instead of plain /bin/sh.
2009-06-23Fix creating the .../lib/ directory structure in the non-sysroot caseBart van der Meulen1-2/+4
The symbol link that is created in the sysroot directory only needs to be made when the cross compiler is build with the sysroot option Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.Yann E. MORIN"1-0/+1
In the non-sysroot-ed case, the debuf-root directory would not be set; debug tools would have been installed God-only-knows-where... Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
2009-06-23Remove left-over debug lines.Yann E. MORIN"1-2/+0
Remove two lines of code that were commented out and are definitely not used.
2009-06-22Check paths sanity before they get used.Yann E. MORIN"1-27/+27
Don't use the PATHs before they get checked for sanity.
2009-06-22Better check for spaces in pathsYann E. MORIN"1-3/+14
Spaces are evil in paths. Print the path that contains a sapce. Don't print computed paths, as they'rebased on provided paths, and don't get space added into them.
2009-05-27/devel/gcc-4.4:Yann E. MORIN"1-0/+4
- crosstool-NG.sh.in: include prefix/lib in LD_LIBRARY_PATH -------- diffstat follows -------- /devel/gcc-4.4/scripts/crosstool-NG.sh.in | 4 4 0 0 ++++ 1 file changed, 4 insertions(+)
2009-05-25/devel/gcc-4.4:Yann E. MORIN"1-0/+3
- 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(-)
2009-05-24/devel/gcc-4.4:Yann E. MORIN"1-0/+3
- 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(-)
2009-05-20Merge the uClinux/noMMU stuff back to /trunk:Yann E. MORIN"1-1/+2
- 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(-)
2009-05-05Add support for building PPL:Yann E. MORIN"1-0/+3
- PPL will be needed to correctly build gcc-4.4+ for the GRAPHITE loop optimisation -------- diffstat follows -------- /trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++ /trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++--- /trunk/scripts/addToolVersion.sh | 3 2 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++ /trunk/steps.mk | 1 1 0 0 + /trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++ /trunk/config/companion_libs.in | 22 19 3 0 ++++++++++-- 7 files changed, 143 insertions(+), 9 deletions(-)
2009-05-03Prepare for gcc-4.4:Yann E. MORIN"1-2/+2
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+ - move GMP & MPFR to 'companion_libs/' -------- diffstat follows -------- /trunk/scripts/build/gmp.sh | 85 0 85 0 ---------------------------- /trunk/scripts/build/mpfr.sh | 139 0 139 0 --------------------------------------------- /trunk/scripts/addToolVersion.sh | 4 2 2 0 /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 /trunk/config/companion_libs.in | 17 10 7 0 +++--- /trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ---------- /trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 -------------- /trunk/config/config.in | 2 1 1 0 /trunk/config/gmp_mpfr.in | 35 0 35 0 ----------- 9 files changed, 15 insertions(+), 345 deletions(-)
2009-03-29Remove test files.Yann E. MORIN"1-2/+4
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
2009-03-27Only create the state dir if asked for a restartable build:Yann E. MORIN"1-2/+7
- introduce the config dir, where components can store their config files - move the munged uClibc config file to the config dir - now, the state dir really is an indication that a build can be restarted Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency of the state dir usage, and suggesting this change. /trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++-- /trunk/scripts/functions | 15 12 3 0 ++++++++++++--- 3 files changed, 22 insertions(+), 8 deletions(-)
2009-03-27Refuse to build/install on file systems that are *not* case-sensitive.Yann E. MORIN"1-0/+9
/trunk/scripts/crosstool-NG.sh.in | 9 9 0 0 +++++++++ 1 file changed, 9 insertions(+)
2009-03-08Use "grep -E" instead of the deprecated "egrep".Yann E. MORIN"1-2/+2
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
2009-03-04Move do_finish from scripts/functions to its own file in ↵Yann E. MORIN"1-0/+1
scipts/build/internals.sh. /trunk/scripts/build/internals.sh | 907 4 903 0 --------------------------------------------- /trunk/scripts/addToolVersion.sh | 8 4 4 0 /trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/functions | 48 0 48 0 -- 4 files changed, 9 insertions(+), 955 deletions(-)
2009-03-03Allow user to add a directory component in the sys-root path.Yann E. MORIN"1-9/+7
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR). As a side effect, fix creating lib64->lib symlinks. /trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 6 3 3 0 +++--- /trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++--- /trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++--------- /trunk/scripts/functions | 2 1 1 0 +- /trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++ 8 files changed, 34 insertions(+), 19 deletions(-)
2009-02-01Use tools discovered by ./configure in scripts/toolchain-config.in.Yann E. MORIN"1-0/+1
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/toolchain-config.in | 2 1 1 0 +- 2 files changed, 2 insertions(+), 1 deletion(-)
2009-01-31Further handle the lib64 -> lib symlinks.Yann E. MORIN"1-2/+6
It at least helps powerpc64 to build, and should innocuous to other archs. /trunk/scripts/crosstool-NG.sh.in | 8 6 2 0 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
2009-01-29If compiling the Java frontend, we'll require a native gcj, but only in this ↵Yann E. MORIN"1-1/+7
case. /trunk/scripts/crosstool-NG.sh.in | 8 7 1 0 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
2009-01-26Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:Yann E. MORIN"1-0/+491
- fix Makefile to really, really not used built-in rules and variables - have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in - create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools /trunk/scripts/crosstool-NG.sh.in | 27 23 4 0 +++++++++++++++++++++--- /trunk/Makefile.in | 50 48 2 0 +++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 71 insertions(+), 6 deletions(-)