summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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.
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-02scripts: use more portable sed optionsTitus von Boxberg"1-1/+1
No need for extended regular expressions here.
2010-02-17comp-libs: make libelf a companion libraryYann E. MORIN"3-43/+94
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"9-44/+40
2010-02-09binutils/binutils: fix using GMP and MPFRYann E. MORIN"1-2/+1
2010-02-17scripts: fix dumping 'other environment'Yann E. MORIN"1-2/+2
Do not sort the environment, it cripples the output.
2010-02-04cc/gcc: simplify the _or_later stuffYann E. MORIN"1-4/+3
2010-02-07scripts/showsamples: fix non-POSIX constructYann E. MORIN"1-1/+1
2010-02-02scripts: also dump the rest of the environmentTitus von Boxberg1-0/+2
2010-02-02scripts: use kernel name (uname -s) when system name (uname -o) is not availabeTitus von Boxberg1-2/+2
'uname -o' is a GNU extension.
2010-02-02scripts/functions: fix date munging when ns are not availableTitus von Boxberg1-1/+1
On some systems (eg. *BSD and Darwin), date does not support nanoseconds (%N) precision. Instead of printing '%N' in this case, it just prints 'N'. Fix the sed expression to handle this case.
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-31scripts: dump the current tuple with show-configYann E. MORIN"1-0/+2
2010-01-31scripts: add action to dump current configuration in humane-readable formYann E. MORIN"1-8/+15
2010-01-31scripts: Do not create backup files when patchingYann E. MORIN"1-1/+1
Some patches may apply with offset and/or fuzz, and would leave .orig files.
2010-01-30libc/glibc: fix retrieving version stringYann E. MORIN"1-2/+5
2010-01-14scripts/functions: add git wrapperYann E. MORIN"1-6/+88
Add a git wrapper to retrieve components from their git tree. Add a git wrapper to create a working copy (in our tarballs dir). Recognise git trees when searching for local copies.
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"6-21/+43
- 'nochdir' must be the first option - have systematic pushd/popd, even if nochdir
2010-01-11libc/glibc: get rid of the now obsolete CVS stuffYann E. MORIN"1-63/+28
It's now been a while that glibc switched to git from cvs. Get rid of cvs to download glibc; this will make for a good cleanup before we add git support! :-)
2010-01-29Merge.Yann E. MORIN"1-3/+0
2010-01-29global: do not offer the renice option, let's the user handle thatYann E. MORIN"1-3/+0
It's broken anyway. Eg.: - user is already niced at 10 - user configures to renice at 5 - breaks because user is not allowed to 'boost' his/her nice value Bette let the user handle the renice with: nice -XX ct-ng 'action'
2010-01-29kernel/linux: remove legacy checkYann E. MORIN"1-5/+0
Now, we only support building with Linux >=2.6.27. Get rid of the code that depended on <2.6.18.
2010-01-29binutils/elf2flt: activate elf2flt buildYann E. MORIN"2-1/+11
The code has been lying around inactivated for some time. Let's enable it at last, and see if any one needs it.
2010-01-29arch: add basic m68k supportYann E. MORIN1-0/+5
Signed-off-by: Remy Bohmer <linux@bohmer.net> [yann.morin.1998@anciens.enib.fr: use defaults for CT_TARGET_ARCH] Signed-off-by: "Yann E. MORIN <yann.morin.1998@anciens.enib.fr>