summaryrefslogtreecommitdiff
path: root/toolchain
AgeCommit message (Collapse)Author
2011-02-10target gcc: fix recompilation issueGustavo Zacarias
gcc_target wants uclibc_target which is now first stage uclibc (not real, from the NPTL build stage addition). This triggers gcc-final to be rebuilt (albeit cached) and reinstalled, thus touching all the stamps around and triggering a rebuild of gcc_target. Switch to $(STAMP_DIR)/gcc_libs_target_installed instead so that we only depend on the last stage of cross gcc being installed to rebuild. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10toolchain/ct-ng: use soft-float option from BR configYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10toolchain/ct-ng: use processor variant from BR configYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10toolchain/ct-ng: use MMU option from the BR configYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-10toolchain/ct-ng: update to crosstool-NG 1.10.0Yann E. MORIN
Update the default .config file. Remove now unnecessary patches. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08kernel-headers: bump 2.6.35.x longterm versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07gdb: add support for Blackfin gdbserverMike Frysinger
This requires removing "deprecated" markings from gdb-6.6, but this isn't that big of a deal. That is the last version with Blackfin support at the moment and we're in the process of getting mainlined. [Peter: only mark as undeprecated on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07initial support for Blackfin processorsMike Frysinger
[Peter: don't allow MMU on bfin] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-31uclibc: add BSD endian conversions routines for 0.9.31Gustavo Zacarias
Add BSD endian conversion routines (backport from 0.9.32 / git). Required to use a modern udev. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26Use 'sysroot' rather than 'sys-root' for the sysroot/staging_dirPeter Korsgaard
As pointed out on the list, using sysroot rather than sys-root is less confusing, as this is how it is referred to in the GCC manual. So rather than changing BR, patch ct-ng to use sysroot instead. The next ct-ng release will use 'sysroot' as well by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26kernel-headers: handle long term support kernels, bump 2.6.35Peter Korsgaard
2.6.34 was (erroneously) already updated earlier. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-26kernel-headers: get rid of deprecated 2.6.32 / 2.6.33 versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: don't remove installation directory before installingPeter Korsgaard
crosstool-ng would normally delete its installation directory before installing the toolchain to ensure it wouldn't get confused by an earlier build. Now that we're installing directly into HOST_DIR/usr, this doesn't work very well - So get rid of the rm's. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: install toolchain into HOST_DIR like the internal toolchainPeter Korsgaard
Simplifies code and helps us when we add SDK support in the future. With this we no longer need to copy headers/libraries to STAGING_DIR either. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-25crosstool-ng: Use same naming convention as internal toolchainsPeter Korsgaard
Use unknown for the vendor part of the tuple, and add $arch-linux- symlinks, similar to how it's done for the internal toolchain, rather than using buildroot_ctng and unknown symlinks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-20toolchain/uClibc: bump 0.9.32 version to 0.9.32-rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-19toolchain: only fetch gcc/gmp/mpfr/mpc when using a buildroot toolchainGustavo Zacarias
Closes #3103 gcc/gmp/mpfr/mpc are only needed when using an internal buildroot toolchain, so only add them to HOST_SOURCE then. Otherwise we get some nasty fetch error when doing "make source" [Peter: add gmpc/mpfr/mpc and reword commit text] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-15toolchain-common.in: Fix USE_MMU typoPeter Korsgaard
Thanks to Marc Gauthier for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-15toolchain: add a USE_MMU build optionMike Frysinger
Some packages need to know whether the MMU is in play, so add a toolchain option to expose the feature to them. [Peter: only show option on archs where it makes sense] Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-14uClibc: 0.9.32-rc1 netlinkaccess fixPeter Korsgaard
From uClibc git, fixes build issue on powerpc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-10kernel-headers: bump 2.6.34.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-10kernel-headers: remove deprecated 2.6.30/2.6.31 versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-10kernel-headers: bump 2.6.32.x / 2.6.36.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-06kernel-headers: add 2.6.37Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-04gdb: fixup symlink handling now tolchain gets installed into HOST_DIRPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-03toolchain/gcc: fix target-gcc selectsPeter Korsgaard
We need to select BR2_PACKAGE_BINUTILS as well, now BINUTILS_TARGET depends on it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-02target gcc: cleanupGustavo Zacarias
WITH_TARGET_{GMP/MPC/MPFR} is unneeded since we are providing a sysroot. It also breaks build-gcc under certain conditions. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-02gcc: install copies of libgcc, libstdc++ and libgcj to the sysrootGustavo Zacarias
We want to keep a copy around for the future SDK functionality. Also it's a better fix for bug #1051. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-02binutils: make it a proper packageGustavo Zacarias
* Convert binutils to a proper autotargets package * Add version 2.21 and drop version 2.17 * Hook up packaged binutils for target gcc * Build tools are on HOST_DIR now so change it * Move cross/host gcc to HOST_DIR * Drop kludge from commit 3c77bab2eeace3ee675bd745ca335fa3dd1630bb This is fixed in the next commit "gcc: install copies of libgcc, libstdc++ and libgcj to the sysroot" - tested for arm & x86_64 targets. * TARGET_CROSS now pointed to HOST_DIR too [Peter: Config.in tweaks] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29Reset critical environment variablesDaniel Nyström
Reset them early in top-level Makefile to ensure they're keept unset all the way through the build process. This also removes the requirement of these variables being unset globally prior the build. Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS optionGustavo Zacarias
It's really not very useful, all it does is install a target strace and ldd in a target_utils directory in staging. While at it clean up the strace makefile a bit. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29uclibc: fix configs for 0.9.32 & snapshotGustavo Zacarias
* 0.9.32 config needs UCLIBC_HAS___PROGNAME defined or we stall when program invocation name is enabled. * Mirror 0.9.32's config to snapshot for consistency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-28uclibc: move tools to host dirGustavo Zacarias
Move uclibc host tools (ldd/ldconfig) to host dir. They were previously installed in the staging dir. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-28sstrip: make it a proper packageGustavo Zacarias
* Convert sstrip to a proper gentargets package * Use openwrt svn version, it's basically the same one we used * Change the hooks from old toolchain/sstrip to new package/sstrip * Drop the old toolchain/sstrip directory * sstrip for the target is now in Package -> Development Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27mpc: make it a proper packageGustavo Zacarias
* Convert mpc to a proper autotargets package * Hook it up for binutils/gcc to use Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27mpfr: make it a proper package and bump to version 3.0.0-p8Gustavo Zacarias
* Convert mpfr to a proper autotargets package * Bump to version 3.0.0-p8 * Hook it up for binutils/gcc to use Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27gmp: make it a proper package and bump to version 5.0.1Gustavo Zacarias
* Convert gmp to a proper autotargets package * Bump to version 5.0.1 * Hook it up for binutils/gcc to use Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-27Merge branch 'for-2011.02/dl-tools' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-12-27toolchain/uClibc: add 0.9.32-rc1Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-24infrastructure: only require download tools when neededThomas Petazzoni
Instead of having to require svn, git or bzr unconditionally, only require them when one package needs them to be downloaded. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-12-23toolchain: fix again stamp file touchThomas Petazzoni
In e6633fd2e37d25f32958f30e852baa216ce1384a I did crap, and added a quietization inside a shell command, which was already quietized. This was stupid, and is fixed by this patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-23toolchain: add missing stamp file touch in external toolchainThomas Petazzoni
In the support of custom external toolchains, we forgot to touch the $(STAMP_DIR)/ext-toolchain-checked stamp file, which means that the toolchain was re-checked and re-installed at everyt build. At the same time, quietize a bit other stamp files touch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-21toolchain: fix multilib symlink for external toolchainsThomas Petazzoni
ARCH_SUBDIR is a shell variable, so it should be referenced with $${ARCH_SUBDIR}. Without this, no symbolic link is created, and the external toolchain fails to work if the non-default multilib variant is used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-19toolchain/gcc: bump 4.5.x versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-16dependencies: add unzipThomas Petazzoni
unzip is needed to uncompress at91bootstrap, so let's add it as a dependency. This can be discussed, and if we think it shouldn't be a new dependency, we can also build a host-unzip. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: more verbose in crosstool-ng backendThomas Petazzoni
By default, Crosstool-NG hides all the details of the toolchain build process. However, this is inconsistent with the typical Buildroot build, and the rotating progress thing makes log file resulting from redirecting the Buildroot output a bit unusable. Therefore, switch the Crosstool-NG configuration to a more verbose default. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: expose thread options in the Crosstool-NG backendThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: BR2_NEEDS_GETTEXT must be y when uClibc is usedThomas Petazzoni
BR2_NEEDS_GETTEXT was already set to y for Buildroot internal toolchain and external toolchains based on uClibc, but wasn't set for toolchains based on uClibC built by the Crosstool-NG backend. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13gcc: disable libgomp when thread support is disabledThomas Petazzoni
libgomp needs thread support on the target to build properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13toolchain: check that the thread option selection is correctThomas Petazzoni
When an external toolchain is used, the user is responsible for telling Buildroot what the configuration of the toolchain is. In order to make sure that the selection is correct, we already perform checks against the configuration of the uClibc in the selected external toolchain. This commit adds the check for thread support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>