summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29config: fix style issues when source-ing filesYann E. MORIN"9-28/+28
Always enclose the sourced file between double-quotes (purely for consistency; enclosing or not are both allowed by the kconfig language).
2010-03-29config: move backend-related options to their own fileYann E. MORIN"3-25/+36
2010-03-29config: hide arch and kernel selection when used as a backendYann E. MORIN"2-7/+27
When used as a backend, it is the responsibility of the upper-layer build system to set the target architecture and kernel.
2010-03-29config: hide options to debug crosstool-NG when a backendYann E. MORIN"1-0/+1
When used as a backend, it does not make sense to debug crosstool-NG, so hide the option.
2010-03-29config: hide more config options when a backendYann E. MORIN"1-10/+14
Hide the prompts for some behavioral options, for which the upper-layer build system is responsible for: - parallel jobs and maximum load - use pipes - use custom shell
2010-03-29config: hide paths when used as a backendYann E. MORIN"2-7/+8
When crosstool-NG is used as a backend, it is the responsibility of the upper-layer build-system to properly set paths, so we just hide the prompts in this case.
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-20cc/gcc: fix building for powerpc for the 4.4.x seriesYann E. MORIN"4-0/+540
Reported by: Thomas Petazzoni http://sourceware.org/ml/crossgcc/2010-03/msg00057.html Discussions: http://lists.uclibc.org/pipermail/uclibc/2010-March/043697.html http://lists.uclibc.org/pipermail/buildroot/2010-March/032790.html http://ibot.rikers.org/%23uclibc/20100316.html.gz (search for "copysignl", by kos_tom, blindvt and y_morin)
2010-03-16binutils/sstrip: get rid of ELFkickersYann E. MORIN"2-90/+30
ELFkickers are looong dead and unmaintained, and the sstrip from buildroot is working fine *and* is maintained.
2010-03-16binutils/sstrip: depends on ELFYann E. MORIN"1-0/+2
No point building sstrip is the target is not ELF.
2010-03-16tools: move sstrip to the binary utilities menuYann E. MORIN"10-109/+28
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"2-0/+15
2010-03-20debug/gdb: add handling of 7_0_or_laterYann E. MORIN"2-0/+12
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"2-2/+21
GMP and MPFR are optional for gdb, so offer a config option.
2010-03-15debug/gdb: can't build a static native gdb if using GMP/MPFRYann E. MORIN"1-8/+14
It is currently impossible to reliably build static GMP/MPFR libs, so we can't build a static native gdb using them, obviously.
2010-03-15debug/gdb: split menuconfig for easier maintenanceYann E. MORIN"4-88/+102
2010-03-05cc/gcc: fix use of companion librariesYann E. MORIN"2-12/+30
2010-03-05complibs: hide promptsYann E. MORIN"1-6/+0
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-05config: hide entries when in backend modeYann E. MORIN"7-0/+7
This implies hidding entries for: - binutils libraries - dmalloc - duma - native gdb - ltrace - strace - sstrip
2010-03-05kconfig: silence a warning about undefined env variableYann E. MORIN"2-4/+2
When using an environment variable to set a config entry, don'twarn if it is not defined. Update doc accordingly.
2010-03-05config: prepare for build-system backendYann E. MORIN"2-0/+25
When acting as a backend for a build-system, we should not build any application that runs on the target, that is: - no native gdb - no companion libraries - no binutils libraries - no debug tools (save for gdbserver) - ... Here, we simply prepare the (hidden) config option that will detect that we are acting as a back-end. Update doc accordingly.
2010-03-19samples: fix samplesYann E. MORIN"33-829/+906
2010-03-17kernel/linux: add latest versions 2.6.32.10 and 2.6.33.1Yann E. MORIN"1-3/+8
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-10Merge.Yann E. MORIN"1-0/+20
2010-03-09libc/glibc: add patch to fix binutils version checkYann E. MORIN"1-0/+20
Older glibces were not ready to handle binutils >=2.20. Fix that, and the forseeable future.
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-03-05scripts: fix completion to show samplesYann E. MORIN"1-1/+3
2010-02-28libc/uClibc: vampirise patches for 0.9.30.2 from builrootYann E. MORIN"14-0/+1215
Commit in upstream buildroot: http://git.buildroot.org/buildroot/commit/?id=43ffd946ad569f3a1d0662de221cd4cb65bdc8e6 Everything on the 0_9_30 branch since the release (0.9.30.3 to be)
2010-02-28kernel/linux: add latest 2.6.32.9 and 2.6.33, remove old 2.6.32.xYann E. MORIN"1-41/+6
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-21binutils/binutils: add patch to default emulation for mips64Zhuang Yuyao2-0/+36
2010-02-20arch: add mips64Zhuang Yuyao2-2/+8
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-02scripts/samples: use the computed '$(sed)', not 'sed'Titus von Boxberg"1-3/+3
2010-02-18samples: fix this MIPS eglibc-based sampleYann E. MORIN"1-33/+19
Specify the SVN revision to use for the eglibc snapshot instead of HEAD, as some patches made their way upstream in the meantime.
2010-02-17comp-libs: make libelf a companion libraryYann E. MORIN"7-49/+119
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"6-36/+63
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.