summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/binutils.mk
Commit message (Collapse)AuthorAgeFilesLines
* binutils: make it a proper packageGustavo Zacarias2011-01-021-179/+0
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* mpc: make it a proper packageGustavo Zacarias2010-12-271-5/+5
| | | | | | | | | * 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>
* mpfr: make it a proper package and bump to version 3.0.0-p8Gustavo Zacarias2010-12-271-5/+5
| | | | | | | | | | * 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>
* gmp: make it a proper package and bump to version 5.0.1Gustavo Zacarias2010-12-271-7/+5
| | | | | | | | | | * 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>
* Add gcc 4.5.1 to buildrootMartin Banky2010-11-041-0/+16
| | | | | Signed-off-by: Martin.Banky@gmail.com <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: enforce --disable-multilibPeter Korsgaard2010-07-301-0/+2
| | | | | | | | Since 5575d205c (toolchain: remove multilib) we were no longer passing --disable-multilib, which broke builds for multilib-capable archs (like x86-64, ppc, ..). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for uclibc NPTL toolchain.Khem Raj2010-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | This patch modifies current toolchain build sequence so that NPTL enabled toolchain can be built. The new sequence works well with linuxthreads as well. It introduces a new pass for gcc cross compilation. The new sequence is binutils->gcc-initial->linux-headers -> uclibc-configured (some cheats to generate phony shared libc.so and libm.o) -> gcc-intermediate(with shared lib support) -> uclibc -> gcc-final I also added a new sample config arm_nptl_toolchain_defconfig which builds the toolchain and busybox. I have only tried it on arm. However it should work for other architectures which support NPTL on uclibc e.g. mips, sh, x86, ppc, x86_64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove multilibThomas Petazzoni2010-07-281-2/+0
| | | | | | | | | | | | | Supporting multilib is much more than just passing --enable-multilib to gcc. You have to actually build the C library several times (once for each multilib variant you want to support in your toolchain), and to pass MULTILIB_OPTIONS/MULTILIB_EXCEPTIONS values to gcc to let it know the set of multilib variants you're interested in. Since we'll probably never support multilib toolchains in Buildroot, just get rid of this BR2_ENABLE_MULTILIB option. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils,gcc: use correct --prefixThomas Petazzoni2010-07-271-4/+2
| | | | | | | | | | | | The cross binutils and cross gcc are actually going to be executed from $(STAGING_DIR)/usr, so the correct prefix is $(STAGING_DIR)/usr and not /usr. This also fixes what is known as the "AVR32 toolchain build failure", which was due to the fact that the prefix directory wasn't writable (since it was /usr). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: remove unused special detection of old toolchainsPeter Korsgaard2010-07-021-6/+0
| | | | | | We only support gcc >= 4.2.x for the internal toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard2010-06-151-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Do not let packages remove man pages, info pages and documentationThomas Petazzoni2010-04-111-7/+1
| | | | | | | | | | The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils: simplify BINUTILS_SITE selectionPeter Korsgaard2010-03-301-19/+2
| | | | | | All versions are available on gnu.org. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: add 2.20.1Gustavo Zacarias2010-03-301-0/+3
| | | | | | | | Closes #1441 [Peter: use gnu.org upstream] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gmp/mpfr: make sure host builds add source targets to HOST_SOURCEPeter Korsgaard2010-02-251-0/+1
| | | | | | | | | | | | | | Closes #1183. When gmp/mpfr is needed for the host (E.G. when using an internal toolchain), the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so make source / external-deps didn't handle them. Notice that we have the same issue with the new host package support, there we should probably use HOST_<package>_DEPENDENCIES for -source dependencies. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: remove support for external source toolchainsThomas Petazzoni2009-12-141-8/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils: add avr32 special versionThomas Petazzoni2009-12-141-0/+5
| | | | | | | | | | | * Add a new binutils version 2.18-avr32-1.0.1 to the Config.in * Use a different site to download avr32 binutils version in binutils.mk * Only apply patches from the patch directory if it exists in binutils.mk Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: get rid of unused gcc 3.x legacy handlingPeter Korsgaard2009-12-041-3/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add binutils 2.20Gustavo Zacarias2009-12-041-0/+3
| | | | | | | Closes #761. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/binutils: make sure target-binutils runs after busyboxPeter Korsgaard2009-11-221-0/+7
| | | | | | | | | Closes #597 Ensure that binutils-target runs after busybox if enabled, so it can overwrite the busybox symlink for ar if that applet is enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-2/+2
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth2009-09-231-6/+6
| | | | | | | | To reflect the new output directory hierachy rename the Makefile variable TOOL_BUILD_DIR to TOOLCHAIN_DIR. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain: use qstripThomas Petazzoni2009-09-051-4/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: xtensa toolchain patch supportMaxim Grigoriev2009-07-241-1/+6
| | | | | | | Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* binutils: remove handling of ancient versionsPeter Korsgaard2009-03-031-24/+0
|
* binutils: add 2.19.1Peter Korsgaard2009-03-031-0/+3
|
* binutils: depend on static version of gmp/mpfrPeter Korsgaard2009-02-101-2/+2
|
* toolchain/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* toolchain/binutils: fix non-sysroot buildPeter Korsgaard2008-12-181-2/+2
|
* binutils: revert bad commit 24343Hans-Christian Egtvedt2008-12-091-1/+1
| | | | | | This reverst the commit 24343, the original state was indeed correct. Blame goes to my bad sight and too hasty decisions.
* binutils: fix typo for detecting if BINUTILS_NO_MPFR is not setHans-Christian Egtvedt2008-12-091-1/+1
| | | | | Make the ifndef check the actual variable, typo bug.
* toolchain/binutils: add 2.19Peter Korsgaard2008-12-051-2/+7
| | | | Based on 9cd8638d / b86af9a1 in Bernhard's tree.
* toolchain/binutils: honour HAVE_MANPAGES / HAVE_INFOPAGESPeter Korsgaard2008-12-051-2/+11
| | | | Based on b157db55 in Bernhard's tree.
* toolchain/binutils: let make expand wildcards instead of the shellPeter Korsgaard2008-12-051-8/+4
| | | | Based on f97ce837 in Bernhard's tree.
* toolchain/*: use CONFIG_UPDATEPeter Korsgaard2008-12-051-1/+1
| | | | Based on e0e0945e in Bernhard's tree.
* toolhain/: confgure: respect quiet optionPeter Korsgaard2008-10-261-0/+1
|
* Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson2008-07-041-1/+2
| | | | locations for prepatched toolchain to be under the toolchain directory
* buildroot: use BR2_KERNEL_MIRROR everywherePeter Korsgaard2008-03-111-1/+1
| | | | Based on patch by Nigel Kukard.
* fixed path problemJohn Voltz2008-03-111-7/+7
|
* buildroot: Use BR2_GNU_MIRROR everywherePeter Korsgaard2008-03-111-7/+7
| | | | Patch by Nigel Kukard.
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-2/+2
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - revert some bad checkins, fixup bad settings in atmel targets and move the ↵Bernhard Reutner-Fischer2007-09-261-7/+3
| | | | gcc target abi back to a place where the other arch-specific settings live
* reinstate AVR32 toolchainUlf Samuelsson2007-09-261-2/+2
|
* - remove one invariant in toolchain type selection.Bernhard Reutner-Fischer2007-09-251-2/+2
|
* - add binutils-2.18 and binutils-2.18.50.0.1Bernhard Reutner-Fischer2007-09-171-0/+3
|
* - precaution when looking at GCC_VERSIONBernhard Reutner-Fischer2007-09-011-2/+2
|
* - misc cleanups (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-08-281-6/+9
|
* - global whitespace trimmingBernhard Reutner-Fischer2007-08-221-2/+2
|
* - semicolon touchup. No other changesBernhard Reutner-Fischer2007-08-221-2/+2
|
* - drop circular dependencyBernhard Reutner-Fischer2007-08-221-1/+1
|