summaryrefslogtreecommitdiff
path: root/scripts/build
AgeCommit message (Collapse)AuthorFilesLines
2010-05-22scripts/build/internals.sh: Always use binary wrapper under BSD/MacOSTitus von Boxberg1-0/+7
The shell wrapper script uses a nonportable call to readlink. Thus, always use the binary wrapper under BSD/MacOS. yann.morin.1998@anciens.enib.fr: Use 'case' instead of 'if'.
2010-05-19build/internals.sh: Replace nonportable call to statTitus von Boxberg1-1/+1
The call to stat to find out if a file is a symlink works only on GNU systems, and the replacing portable call to readlink is also shorter and more concise code. yann.morin.1998@anciens.enib.fr: Apply simpler test, after discussion with author and Arnaud LACOMBE on the ML.
2010-04-29debug/gdb: install tic in the buildtools directoryYann E. MORIN"1-1/+1
'tic' is a build tool, its place is in the buildtools directory, not in the toolchain's bin directory.
2010-04-29debug/gdb: be less verbose during the ncurses buildYann E. MORIN"1-12/+1
2010-04-25arch/sh: fix type in variant handlingYann E. MORIN"1-1/+1
2010-04-21libc/newlib: don't do // downloadsYann E. MORIN"1-0/+9
The newlib FTP site does not like // downloads, and quickly blocks the IP from the downloader. Override the number of chunks when downloading newlib.
2010-04-21libc/glibc: fix kernel version checkYann E. MORIN"1-1/+3
Since we log the test strings, it is no longer possible to call the CT_Test* functions from sub-functions that print results to their stdout.
2010-04-09cc/gcc: use proper host compiler for canadian bare-metalRemy Bohmer1-1/+13
While compiling a canadian toolchain for host=mingw32, build=linux, target=m68k-elf the build fails because in this step of the gcc build the Host compiler is used in this stage with the build-flags for the build system. This results in an error where the header <sys/wait.h> cannot be found. This problem happens at least in the GCC-4.3.x and GCC-4.4.x range. This is solved by passing the proper compilers on the Make cmd-line Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-04-20cc/gcc: allow building a canadian bare-metal compilerBart vdr. Meulen1-19/+10
Previous addition of the canadian cross compiler did not allow to build a baremetal only variant, no reason why this is not allowed Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-04-20cc/gcc: fix cc symlink when executables have an extensionYann E. MORIN"1-2/+8
When building a cross-compiler for a host which depends on file extensions the symlink for cc was not installed correctly Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> [Yann E. MORIN: style fixes, enhancements, code prettying] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-15cc/gcc: add support for 4.5.0 or later versionsYann E. MORIN"1-0/+6
starting with 4.5.0, gcc requires libelf.
2010-04-15complibs/libelf: enable the host buildYann E. MORIN"1-37/+33
Host libelf is required by gcc-4.5.0
2010-04-15complibs/libelf: build target libelf in its own directoryYann E. MORIN"1-2/+2
2010-04-15debug/gdb: remove insightYann E. MORIN"1-20/+1
Insight seems to be very slow to follow up on mainstreram gdb. Latest snapshots are more than 6 months old. Moreover, I don't have time to maintain insight support in crosstool-NG; and, because I don't use it, I am unable to find any breakage.
2010-04-07Add basic support for the Blackfin architectureThomas Petazzoni3-6/+26
For uClibc, the name of the Blackfin architecture is 'bfin'. Actually, the naming of the architecture is quite messy: for toolchain tuples and uClibc, it's bfin, but for the kernel, it's blackfin. We've arbitraly choosen to name it "blackfin" in Crosstool-NG. Add Blackfin-related uClibc patch to fix a build failure related to fork() being used in unistd/daemon.c. Yann E. MORIN: Apply the patch to the kernel/linux build script to use 'linux' in the noMMU tuples. See: http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
2010-04-12Merge.Yann E. MORIN"1-1/+1
2010-04-12Revert 3ea4e6f7b85f: Force autoreconf for mpfrYann E. MORIN"1-1/+1
It breaks on my machine. Revert until we find the exact cause leading to the initial patch, and we come up with a patch that properly fixes it.
2010-04-11scripts/functions: make CT_Patch dumberYann E. MORIN"24-33/+29
It is the responsibility of the caller to split the package name from its version. It already knows that.
2010-04-11libc/newlib: only compute version string, not full filenameYann E. MORIN"1-8/+8
2010-04-11debug/gdb: remove snapshot versionYann E. MORIN"1-13/+6
2010-04-09cc/gcc: add bugurl and compiler version to core gcc compilerRemy Bohmer1-0/+4
When building for bare-metal the core-gcc compiler is delivered as final compiler, so the version info and bugurl is useful in the core compiler as well. Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-04-09[CT-NG:patch 05/19] Force autoreconf for mpfrBart vdr. Meulen1-1/+1
In some exotic case the autoreconf step of mpfr is not executed (correctly) leaving an incorrect version number for libtool in the configure script. After extracting the sources files, force autoreconf to be executed. Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-04-11complibs: don't install in toolchain dir when built as staticYann E. MORIN"7-37/+37
2010-04-10complibs: allow either static or shared buildYann E. MORIN"7-27/+87
2010-04-10complibs: build static librariesYann E. MORIN"6-10/+13
2010-04-10config: replace COMP_LIBS with COMPLIBSYann E. MORIN"5-5/+5
2010-04-10complibs/mpfr: fix extractYann E. MORIN"1-1/+1
With MPFR 2.4.2, autoreconf needs to be run as well.
2010-04-07cc/gcc: fix thread-less final gcc buildArnaud Lacombe1-1/+9
If threads are disabled in libc, we don't want to enable them in the final compiler. Doing so pass the configure stage, but fails latter on a missing <pthread.h>. Moreover, we don't want to build libgomp if threads are disabled; its configure script would fails anyway. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-04-07cc/gcc: fix recent gcc buildArnaud Lacombe1-4/+4
This fix missed conversion of CT_GCC_USE_* to CT_CC_GCC_USE_*. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-03-24binutils/sstrip: fix when sstrip is disabledYann E. MORIN"1-3/+3
2010-03-16binutils/sstrip: get rid of ELFkickersYann E. MORIN"1-54/+29
ELFkickers are looong dead and unmaintained, and the sstrip from buildroot is working fine *and* is maintained.
2010-03-16tools: move sstrip to the binary utilities menuYann E. MORIN"3-89/+10
sstrip is now alone in its 'tools' menu, and we will probably never gain any other 'tool'. Besides, sstrip is just strip, but a little bit more agressive, so it deserves going to the 'binary utilities' menu.
2010-03-15debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdbYann E. MORIN"1-0/+3
2010-03-15debug/gdb: add option to use GMP and MPFRYann E. MORIN"1-2/+4
GMP and MPFR are optional for gdb, so offer a config option.
2010-03-05cc/gcc: fix use of companion librariesYann E. MORIN"1-10/+18
2010-03-16debug/gdb: fix building the native ticYann E. MORIN"1-1/+1
The native 'tic' will _always_ be run on the build machine, so no need to handle canadian/native/... Reported by: Trevor Woerner http://sourceware.org/ml/crossgcc/2010-03/msg00055.html (transplanted from 26e89d367ea11660fd3a0bf0bcad8763e4fa21cf)
2010-03-07debug/ltrace: properly fix building for powerpcYann E. MORIN"1-8/+4
ltrace uses ppc, whereas crosstool-NG use powerpc. Fix that by passing the correct value to HOST when calling configure.
2010-03-06debug/ltrace: fix building on x86Yann E. MORIN"1-3/+10
ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases. Fix that by detecting what bitness we're building for, and pass appropriate i386 or x86_64 to ltrace's configure.
2010-02-28complibs: remove headers after buildYann E. MORIN"1-0/+3
After the toolchain is built, we do no longer need the headers. Reported-by: Enrico Weigelt <weigelt@metux.de>
2010-02-20arch: add mips64Zhuang Yuyao1-2/+7
This adds initial mips64 config option and build script.
2010-02-17comp-libs: make libelf a companion libraryYann E. MORIN"2-43/+91
When gcc-4.5 is out, it will require libelf. So better make it a companion library now rather than postponing the ineluctable.
2010-02-17complibs: hide companion libraries for target entryYann E. MORIN"3-9/+18
The companion libraries on the target are required only for internal use by binutils and gdb. The user should not have to know about this, so hide the option.
2010-02-18complibs: simplify config fileYann E. MORIN"3-5/+5
Although currently the wrapper is directly dependent on companion libraries, let's still decorelate those two.
2010-02-17complibs: split-up selection for individual libsYann E. MORIN"8-38/+27
2010-02-09binutils/binutils: fix using GMP and MPFRYann E. MORIN"1-2/+1
2010-02-02comp-libs/mpfr: fix build on DarwinTitus von Boxberg1-0/+1
2010-02-01libc/eglibc: Add option to optimize for sizeRichard Strand1-1/+7
Add an option to eglibc to optimize for size using -Os. Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-30libc/glibc: fix retrieving version stringYann E. MORIN"1-2/+5
2010-01-12libc/glibc: get the version string from version.hYann E. MORIN"1-2/+5
We can not rely on the user-provided version string (be it via the choice, or manually entered), so fallback to reading version.h, which is both reliable and always present.
2010-01-12scripts/functions: change handling of nochdirYann E. MORIN"5-9/+9
- 'nochdir' must be the first option - have systematic pushd/popd, even if nochdir