summaryrefslogtreecommitdiff
path: root/toolchain/binutils/binutils.mk
AgeCommit message (Collapse)Author
2010-11-04Add gcc 4.5.1 to buildrootMartin Banky
Signed-off-by: Martin.Banky@gmail.com <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-30toolchain: enforce --disable-multilibPeter Korsgaard
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>
2010-07-29Add support for uclibc NPTL toolchain.Khem Raj
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>
2010-07-28toolchain: remove multilibThomas Petazzoni
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>
2010-07-27binutils,gcc: use correct --prefixThomas Petazzoni
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>
2010-07-02toolchain: remove unused special detection of old toolchainsPeter Korsgaard
We only support gcc >= 4.2.x for the internal toolchain. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-15toolchain: remove gcc 4.1.2 and non-sysroot supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-11Do not let packages remove man pages, info pages and documentationThomas Petazzoni
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>
2010-03-30binutils: simplify BINUTILS_SITE selectionPeter Korsgaard
All versions are available on gnu.org. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30binutils: add 2.20.1Gustavo Zacarias
Closes #1441 [Peter: use gnu.org upstream] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-25gmp/mpfr: make sure host builds add source targets to HOST_SOURCEPeter Korsgaard
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>
2009-12-14binutils: remove support for external source toolchainsThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14binutils: add avr32 special versionThomas Petazzoni
* 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>
2009-12-04toolchain: get rid of unused gcc 3.x legacy handlingPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04Add binutils 2.20Gustavo Zacarias
Closes #761. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22toolchain/binutils: make sure target-binutils runs after busyboxPeter Korsgaard
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>
2009-10-01buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard
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>
2009-09-23rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth
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>
2009-09-05toolchain: use qstripThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24toolchain: xtensa toolchain patch supportMaxim Grigoriev
Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-03-03binutils: remove handling of ancient versionsPeter Korsgaard
2009-03-03binutils: add 2.19.1Peter Korsgaard
2009-02-10binutils: depend on static version of gmp/mpfrPeter Korsgaard
2009-01-16toolchain/: convert to DOWNLOAD helperPeter Korsgaard
2008-12-18toolchain/binutils: fix non-sysroot buildPeter Korsgaard
2008-12-09binutils: revert bad commit 24343Hans-Christian Egtvedt
This reverst the commit 24343, the original state was indeed correct. Blame goes to my bad sight and too hasty decisions.
2008-12-09binutils: fix typo for detecting if BINUTILS_NO_MPFR is not setHans-Christian Egtvedt
Make the ifndef check the actual variable, typo bug.
2008-12-05toolchain/binutils: add 2.19Peter Korsgaard
Based on 9cd8638d / b86af9a1 in Bernhard's tree.
2008-12-05toolchain/binutils: honour HAVE_MANPAGES / HAVE_INFOPAGESPeter Korsgaard
Based on b157db55 in Bernhard's tree.
2008-12-05toolchain/binutils: let make expand wildcards instead of the shellPeter Korsgaard
Based on f97ce837 in Bernhard's tree.
2008-12-05toolchain/*: use CONFIG_UPDATEPeter Korsgaard
Based on e0e0945e in Bernhard's tree.
2008-10-26toolhain/: confgure: respect quiet optionPeter Korsgaard
2008-07-04Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch ↵Ulf Samuelsson
locations for prepatched toolchain to be under the toolchain directory
2008-03-11buildroot: use BR2_KERNEL_MIRROR everywherePeter Korsgaard
Based on patch by Nigel Kukard.
2008-03-11fixed path problemJohn Voltz
2008-03-11buildroot: Use BR2_GNU_MIRROR everywherePeter Korsgaard
Patch by Nigel Kukard.
2007-10-01- just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-09-26- revert some bad checkins, fixup bad settings in atmel targets and move the ↵Bernhard Reutner-Fischer
gcc target abi back to a place where the other arch-specific settings live
2007-09-26reinstate AVR32 toolchainUlf Samuelsson
2007-09-25- remove one invariant in toolchain type selection.Bernhard Reutner-Fischer
2007-09-17- add binutils-2.18 and binutils-2.18.50.0.1Bernhard Reutner-Fischer
2007-09-01- precaution when looking at GCC_VERSIONBernhard Reutner-Fischer
2007-08-28- misc cleanups (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer
2007-08-22- global whitespace trimmingBernhard Reutner-Fischer
2007-08-22- semicolon touchup. No other changesBernhard Reutner-Fischer
2007-08-22- drop circular dependencyBernhard Reutner-Fischer
2007-08-21- sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer
toolchain/*/*.mk */Makefile.in -l)
2007-08-20- whitespace fixesBernhard Reutner-Fischer
2007-07-31Add support for prepatched toolchainsUlf Samuelsson
2007-06-20- add full sysroot support for non-ancient toolchains.Bernhard Reutner-Fischer
- start to separate usr/lib and lib to match normal system-layout