summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2010-04-15cc/gcc: add support for 4.5.0 or later versionsYann E. MORIN"2-1/+10
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-15scripts: don't print the build system guess warningYann E. MORIN"1-1/+0
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-13scripts/functions: log the test stringsYann E. MORIN"1-0/+3
2010-04-13scripts/functions: compress with gzip level 3, as stated in the documentationYann E. MORIN"1-8/+12
Thanks to Bruno Tarquini <btarquini@gmail.com> for the report.
2010-04-13scripts/functions: add a save/restore handlerYann E. MORIN"1-62/+62
Saving and restoring the steps requires saving/restoring multiple directories. Depending on the configuration, some may not exist. Add a wrapper that checks before creating/extracting the tarballs.
2010-04-13scripts/functions: fix CT_Patch againYann E. MORIN"1-4/+6
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-12scripts/functions: fix CT_PatchYann E. MORIN"1-2/+2
2010-04-11scripts/functions: make CT_Patch dumberYann E. MORIN"25-53/+54
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-09scripts: prevent trailing - in CT_TARGETBart vdr Meulen1-4/+4
Not all target tuples consist of an VENDOR, KERNEL and SYSTEM part, build up the tuple in such a way to no extra or trailing dashes are added to CT_TARGET Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
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: save directory with static complibs for stop/restartYann E. MORIN"2-0/+15
2010-04-11complibs: don't install in toolchain dir when built as staticYann E. MORIN"8-37/+42
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-10scripts: add script to publish patchesYann E. MORIN"1-0/+44
This script creates the patches for an existing version.
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-04-01scripts: misc help and auto-complete fixesYann E. MORIN"1-4/+6
- don't list samples in the main help screen - improve the samples listing in list-samples - don't document the 'config' action, it's long dead - document the 'V' environment variable - improve on START, STOP and PREFIX environment variables - add PREFIX and V to autocomplete - advertise auto-complete at install time
2010-03-29scripts/addToolsVersion: fix handling libelfYann E. MORIN"1-1/+1
libelf has moved to the companion libraries section, and is no longer in the tools section.
2010-03-28scripts/populate: optimise search loopYann E. MORIN"1-31/+53
Curently, populate will iterate over all ELF (shared objects|executables) to look for missing NEEDED DSOs, adding to the list at every iterations of the search loop. Instead of looking again at previously handled ELF files, recursively resolve every ELf files. Also, in case there are a whole lot of files (more than the shell can accept as arguments list, or creating a command line longer than the shell can cope with), use a temporary file with the list of files to search for missing dependencies.
2010-03-28scripts/populate: cleanups and misc fixesYann E. MORIN"1-28/+33
- it's a POSIX compliant shell script: drop bash, use /bin/sh - fix help text - use an absolute path for sysroot - replace "echo" with "printf" - replace "stat -c '%i'" with "ls -1id" - replace "pushd / popd" with "cd / cd -" - remove superfluous break - bail out if required lib not found, except if forced
2010-03-26scripts/populate: fix handling the forced libraries list-fileYann E. MORIN"1-3/+1
If a list-file is used, then each library in the file will be handled twice (not a real issue, as the second iteration will find the library already present, just avoid doing the job twice).
2010-03-25scripts/populate: properly locate the sysroot and required toolsYann E. MORIN"1-9/+21
This fixes two problems: - the sysroot might be in a sub-directory (think SYSROOT_DIR_PREFIX) - it is not needed to have the target tuple to properly detect the sysroot and the required tools As a side effect, this script is now no longer dependent on the target tuple, and in the future, we might be able to share it across many toolchains (when/if we can install all of them in the same place).
2010-03-24scripts/populate: add -m option, to merge source and destYann E. MORIN"1-9/+27
Merge the source rootfs into the (pre-existing) destination rootfs, and populate the result accordingly.
2010-03-23scripts/populate: add option to use an alternate sysrootNate Case1-1/+9
Add a new command line option, "-r", which allows the user to specify an alternate sysroot location to copy libraries from. This is useful when using the toolchain in combination with a separate root filesystem, or when working with multiple different root filesystems. Signed-off-by: Nate Case <ncase@xes-inc.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"4-92/+13
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-20debug/gdb: add handling of 7_0_or_laterYann E. MORIN"1-0/+7
We'll need to differentiate gdb 7.0 or later, from gdb prior to 7.0
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-19scripts: fix dumping the config for companion libraries for targetYann E. MORIN"1-6/+12
Companion libraries can be disable for the host, but still used for the target (eg. binutils or gdb). Dump the version also in this case.
2010-03-17scripts: fix dumping configYann E. MORIN"1-3/+7
libelf has been moved to being a companion library, now.
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-14scripts: fix the release script to use the C localeYann E. MORIN"1-0/+2
Force use of the C locale to ensure messages are recognised by the script.
2010-03-14scripts: enhance and fix the release scriptYann E. MORIN"1-5/+52
2010-03-07scripts: add script to make a releaseYann E. MORIN"1-0/+308
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.