aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: add binutils 2.25.1Hauke Mehrtens2015-09-111-6/+15
| | | | | | | | | This adds binutils 2.25.1 as an option to OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: binutils: enhance build reproducabilitySteven Barth2015-06-291-0/+1
| | | | | | | | | built toolchain utilities will always operate in deterministic mode: https://sourceware.org/binutils/docs-2.25/binutils/ar-cmdline.html Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove version 2.20.1 (only used by avr32)Felix Fietkau2015-03-241-15/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: run install twice instead of overwriting the final toolchain with ↵Felix Fietkau2014-12-271-1/+3
| | | | | | | | | | | the initial one fixes compiler error after a binutils rebuild/reinstall without rebuilding the rest of the toolchain Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: enable plugin supportFelix Fietkau2014-12-271-0/+1
| | | | | | | | | | | | | | | | --enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which must be used with GCC 4.9 for LTO to work. Without this option, gcc-ar etc. will just fail with sorry - this program has been built without plugin support Using the normal ar from binutils with GCC 4.9 and -flto will cause linking with static "convenience" libraries to fail. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove linaro version string, it confuses gcc lto support detectionFelix Fietkau2014-10-201-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix binutils broken symlinkFelix Fietkau2014-10-181-1/+1
| | | | | | | | | | The Makefile for binutils creates a broken symlink to "binutils-linaro" in "trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2". Modify the Makefile to point the symlink to the correct directory. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove old versionsFelix Fietkau2014-10-051-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: update -linaro to 2.24.0-2014.09Felix Fietkau2014-09-301-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: do not install host libiberty.a into target lib dirJonas Gorski2014-09-071-0/+1
| | | | | | | | | | | Binutils target build will pick it up and break build on e.g. arm: libtool: link: arm-openwrt-linux-uclibcgnueabi-gcc -shared .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf32-arm.o .libs/elf32.o .libs/elf-nacl.o .libs/elf-vxworks.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-gen.o .libs/cpu-arm.o -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/binutils-2.24/bfd/../libiberty/pic -liberty -lz -march=armv5te -mtune=arm926ej-s -mfloat-abi=soft -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed -Wl,-soname -Wl,libbfd-2.24.so -o .libs/libbfd-2.24.so /mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib/libiberty.a: could not read symbols: File format not recognized Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: upgrade the Linaro binutils to 2.24-2013.12Imre Kaloz2014-01-071-5/+5
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: add support for Linaro binutils 2.23.2-2013.06Imre Kaloz2013-09-111-12/+21
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: remove some unused obsolete versionsFelix Fietkau2013-06-301-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix partial MD5 sum from r35813Florian Fainelli2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/binutils: fix 2.19.1 MD5 sumFlorian Fainelli2013-02-261-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: remove 2.21Florian Fainelli2012-11-191-3/+0
| | | | | | | | | There is no point in keeping around 2.21 when 2.21.1 which is a bugfix release is there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: add support for 2.23.1Florian Fainelli2012-11-191-0/+3
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-1/+1
| | | | | | fixes parallel build on some systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: enable parallel buildsFelix Fietkau2012-09-151-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix up lib64 symlink to lib before copying the initial prefix dir ↵Felix Fietkau2012-06-301-0/+1
| | | | | | to avoid errors on copying git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: keep the initial gcc around for later uclibc rebuildsFelix Fietkau2012-06-301-1/+5
| | | | | | | | | | | testing uclibc changes is tricky because the final gcc tends to miscompile uclibc code or barf up internal compiler errors. install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc can be put into $(PATH) for the uclibc build, even if the final gcc is already installed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: add binutils 2.22Imre Kaloz2012-02-081-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils] adjust md5sum of v2.21.1 since archive got replaced ↵Mirko Vogt2012-01-201-1/+1
| | | | | | meanwhile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: add binutils 2.21.1Hauke Mehrtens2011-08-061-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: remove the CS variant - broken since it's additionImre Kaloz2011-02-211-9/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/binutils]: add binutils 2.21Imre Kaloz2011-02-181-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain]: remove support for binutils 2.18 and 2.20Imre Kaloz2010-10-281-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* optionally support parallel toolchain build. This defaults to off, because ↵Michael Büsch2010-10-031-1/+1
| | | | | | certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵Felix Fietkau2010-08-191-2/+2
| | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix ↵Florian Fainelli2010-04-201-5/+2
| | | | | | mbsd_multi patch, patch from Bernhard Loos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add binutils-2.20.1Alexandros C. Couloumbis2010-03-111-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: fix path to cloog and pplFelix Fietkau2009-11-021-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add binutils 2.20Felix Fietkau2009-11-021-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a binutils variant based on a binutils snapshot and codesourcery g++ ↵Felix Fietkau2009-10-191-0/+8
| | | | | | enhancements (compiles, but fails to link the kernel) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove binutils 2.17 and 2.19Felix Fietkau2009-05-051-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] move common variables to a dedicated include fileNicolas Thill2009-02-231-5/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-11/+11
| | | | | | host-build steps git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] cosmetic & coherency fixesNicolas Thill2009-02-031-16/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] binutils: add support for v2.19.1 (from #4492, thanks to dwrobel)Nicolas Thill2009-02-031-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] libssp should also be configured in binutilsFlorian Fainelli2009-02-021-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* install readelf to STAGING_DIR_HOST (eglibc requires it, not all systems ↵Felix Fietkau2009-01-261-0/+2
| | | | | | have it) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add binutils 2.19 (patch from #4367)Felix Fietkau2009-01-171-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [massive] add support for alternative C libraries (currently only glibc/eglibc)Nicolas Thill2009-01-081-3/+17
| | | | | | | | | | | other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nuke binutils 2.16.1 - old, unused, buggyImre Kaloz2008-12-021-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13481 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add md5sums for binutils & gcc and use the GNU mirror facilityNicolas Thill2008-11-081-8/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13143 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable autorebuild for the toolchain, as it can easily lead to build breakagesFelix Fietkau2008-09-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use qstrip macro to strip quoted CONFIG_* stringsNicolas Thill2008-07-141-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] provide a cleaner way to specify a biarch toolchain buildJeremy Kerr2008-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, to build a biarch toolchain, we need to explicitly give options to the binutils and gcc configure commands: CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS="--enable-targets=powerpc64-linux-uclibc" CONFIG_EXTRA_GCC_CONFIG_OPTIONS="--enable-biarch --enable-targets=powerpc64-linux-uclibc" This change replaces the command line options with an 'extra arch' configure option: CONFIG_EXTRA_TARGET_ARCH=y CONFIG_EXTRA_TARGET_ARCH_NAME="powerpc64" And a way to invoke this extra arch on the compiler command-line: CONFIG_EXTRA_TARGET_ARCH_OPTS="-m64" In this case, this results in an extra compiler: 'powerpc64-linux-uclibc-gcc', which invokes 'powerpc-linux-uclibc-gcc -m64' This is a more standard way of building biarch toolchains, and allows the packages to not have to care about how to invoke the 64-bit compiler. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update binutils autoconf scripts, tooImre Kaloz2007-12-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10005 3c298f89-4303-0410-b956-a3cf2f4a3e73