aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils
AgeCommit message (Collapse)Author
2011-10-27binutils_2.18: update SRC_URI to avoid manual deleteMats Kärrman
For reasons described in [1], the URL and contents of the source archive has changed and the old URL redirects to this. The checksums were updated by a previous commit [2], but only changing the checksums requires a previously downloaded archive to be manually deleted. This patch avoids this by updating the SRC_URI to the new URL. [1] http://git.openembedded.org/openembedded/commit/?id=f4faecdbd0b7c83e5787735ef1495a34aca861e4 [2] http://git.openembedded.org/openembedded/commit/?id=bc8ddbf7944f82383936d88379619aa46c3954a2 Signed-off-by: Mats Kärrman <mats.karrman@tritech.se> Signed-off-by: Tom Rini <trini@kernel.crashing.org>
2011-10-27binutils-{canadian,cross}-sdk_2.18: Remove checksums and implicitly update themPaul Menzel
Due to a GPL violation corrected Binutils archives were uploaded with the suffix »a« and the faulty archives were removed [1]. The URLs redirect to the new archives and therefore the checksums are now incorrect. In the following commit commit bc8ddbf7944f82383936d88379619aa46c3954a2 Author: Steffen Sledz <sledz@dresearch-fe.de> Date: Mon Sep 5 17:39:57 2011 +0200 binutils-2.18: fix checksums the checksums were updated – though it should have been done differently [1–3] and therefore already downloaded old archives have to be deleted manually. `binutils-{canadian,cross}-sdk_2.18.bb` require `binutils_2.18.bb` but override the checksums by having separate definition for the checksums [4]. By removing these definitions the updated checksums from `binutils_2.18.bb` are used. This patch is similar to the one submitted by Mats Kärrman [5]. `mamona/binutils-noemu_2.18.bb` is not updated because it also defines `SRC_URI` separately. [1] http://git.openembedded.org/openembedded/commit/?id=f4faecdbd0b7c83e5787735ef1495a34aca861e4 [2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-September/034885.html [3] http://git.openembedded.org/meta-openembedded/commit/?id=15832ab1f64f2bc2ee7d342e5bff0351b5e2479b [4] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035702.html [5] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035732.html Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2011-09-05binutils-2.18: fix checksumsSteffen Sledz
Symbolic link for binutils-2.18.tar.bz2 at the GNU FTP server has changed to a new version. Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
2011-02-23binutils-avr32.inc: Switch to do_configure_{prepend,append}Tom Rini
While adding autoconf/automake to DEPENDS helps, that only means they must have completed do_populate_sysroot before we can run do_configure, and since do_avr32_reconf was before do_configure it will be run before autoconf is there, with enough BB_NUM_THREADS. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-15binutils_2.21: Fix QA errors due to wrong RPATHKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-07binutils_2.21.bb: Fix the QA staging errors for target binutilsKhem Raj
* The spurious paths were caused by a -L on commandline which pointed to build dir. So we dont use -L <wordir> -liberty instead use the libiberty.a directly on commandline effects are same but .la does not have the workdir path in deplibs Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-13binutils_2.21.bb: Dont apply libtool-update.patch at allKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-12binutils_2.21.bb: Fix the build when using libtool 2.4Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-08binutils-cross-sdk_2.21.bb,binutils-cross_2.21.bb: Use binutils_2.21.bb ↵Khem Raj
instead of git version Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-08binutils-2.21: Add recipes for binutils 2.21 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-08binutils_git.bb: Move to master now that 2.21 is releasedKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-07binutils_git.bb: Bump SRCREV to latest 2.21 branchKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-11-25binutils_git.bb: Fix building target binutils build for SH4/uclibcKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-11-18binutils-cross-sdk: Add version 2.19.51 (for micro)Tom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-11-15binutils: Use git instead of cvs for SRC_URI for upstream version of binutilsKhem Raj
* Use the upcoming 2.21 branch as SRC_URI so that we can test it and provide feedback to upstream based on our testing use PREFERRED_VERSION_binutils-cross = "git" to select this and test it in builds and reports issues. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-22binutils: Update libtool macros to reflect --with-sysroot -> ↵Khem Raj
--with-libtool-sysroot rename * We dont need to filter out with-sysroot anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-20binutils.inc: Use anon python to grok CONFIGUREOPTSKhem Raj
* Immediate evaluation worked fine when the package was for target but failed for cross because cross bbclass is inherited after this evaluation happens and the configure parameters are pre evaluated which are incorrect for binutils-cross build, therefore we need to evaluate this expression at very end of parsing the recipe Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-20binutils: bump INC_PR to force rebuildKoen Kooi
2010-10-20binutils.inc: Dont filter out all --with-sysroot stringsKhem Raj
* Binutils.inc is included into cross recipes because the cross recipes include target recipe. We only need to remove --with-sysroot full word only and not --with-systoot=... Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-19binutils.inc: Filter out --with-sysroot for target binutilsKhem Raj
* This is not needed but libtool 2.4 will add it so we filter it out here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-15Reverse the order of OVERRIDESChris Larson
Given the current implementation of OVERRIDES in bitbake, the variable is expected to contain elements in the order least specific to most specific, however, our current usage of it does not match that. As one example, "local" is supposed to always be the most specific override, yet currently it's the least specific. As another example, currently the target architecture is seen as more specific than the machine, which is also clearly wrong. Big thanks to Chase Maupin for investigating and identifying this long standing issue. It becomes clear that a reversal of the current value will bring us to a more sane behavior, and avoids the need for the dual overrides hack mentioned in the comments, so this implements this reversal, and drops the unnecessary and confusing comments. This also introduces a MACHINE_OVERRIDES variable as a generic mechanism to inject overrides elements which are more specific than the distro but less specific than the machine, which is where things like MACHINE_CLASS or SOC_FAMILY or the like would go. This variable is *space* separated, to make it easier and more convenient to assemble the variable incrementally. Reported-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Chase Maupin <chase.maupin@ti.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-10-11binutils-cross-sdk.inc: Do not install ${D}${infodir}/dirKhem Raj
* This file should be generates when the package is actually installed not when we install it during build. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-10binutils_2.20.1.bb: Updates to use libtool 2.4 macrosKhem Raj
* Use this patch conditionally only if libtool 2.4 is selected Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-07binutils : moved unused files to obsolete dirFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-05binutils_2.20.1.bb: GCC 4.5 causes more warnings disable warnings during ↵Khem Raj
binutils build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-27binutils-cross.inc: Enable 64-bit bfd when configured for mips64/mips64elKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-25binutils_cvs.bb: Use FILESPATHPKGKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-09-23binutils_2.20.1.bb: Add patch to fix ld sysrootKhem Raj
Fixes the issue seen on builds where libc.so is not being found Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-08-12binutils.inc: Drop spurious CC definition.Tom Rini
There's always been a definition of CC here that gets out of sync with bitbake.conf. Drop. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-08-06binutils: Clean out unneeded do_stage functionsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-03binutils-cross.inc: Dont install duplicate copies of tools create relative ↵Khem Raj
symlinks instead. * Dont generate shared libraries and bfd. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-07-22binutils_2.20.1: commented out enabling for nios2Frans Meulenbroeks
commented out enabling for nios2 as there is an open issue with ld; will enable again once I fixed the issue Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-22toolchain: Remove references to CROSS_DIRKhem Raj
* Toolchain is installed into native sysroot now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2010-07-21binutils: added COMPATIBLE_TARGET_SYSFrans Meulenbroeks
added COMPATIBLE_TARGET_SYS ?= "(?!nios2)" to the inc file and COMPATIBLE_TARGET_SYS = "." to the few recipes that do support nios2 Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-09binutils_2.20.1.bb: Remove redundantly added patch=1 its not needed anymoreKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-09binutils 2.20.1: added patches to support nios2Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-06binutils 2.17.50.0.12: added nios2 supportFrans Meulenbroeks
added nios2 support this is based upon the windriver toolchain (see http://www.nioswiki.com/Build_the_gcc4_toolchain for details). The nios2 changes are lifted from the wrs toolchain and ported to 2.17.50.0.12. Also solved a few bugs As there is no functional change for other platforms no PR bump is needed (the patches are only applied for nios2 machines) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-07-01recipes: Punt use of patch=1 and use striplevel=n instead of pnumKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-25binutils-cross-sdk: add 2.20.1Koen Kooi
2010-06-25binutils-cross-sdk cvs: fix PVKoen Kooi
2010-06-16binutils_2.18.atmel.1.0.1.bb : add latest binutils for AVR32Graeme Gregory
2010-06-15binutils-2.20.1: Update libtool files so cross native builds are correct.Khem Raj
* Currently libtool adds -L/usr/lib to the link command which directs linker to pull from /usr/lib. Many distro's dont have stuff which is conflicting in /usr/lib with the target libraries but some do. Like archlinux has libgcc_s.so.1 in /usr/lib due to the above -L it gets picked over the target libgcc and the link command fails. -L/usr/lib is generated by libtool when it sees -rpath /usr/lib which may be not the right think when doing cross native builds. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-05binutils-cross: Build with --enable-shared and install libiberty-pic.aKhem Raj
* On systems where PIC matters (e.g. MIPS, x86_64) building target binutils fails because its configured with --enable-shared but when it tried to link a shared library (libopcode.so) then it pulls in libiberty.a from the sysroot which is installed by binutils-cross earlier. This version however is a static archive and linking it with shared libraries not only does not work but is wrong too. * This patch builds binutils-cross with --enable-shared and installs the PIC version of libiberty.a into sysroot as libiberty_pic.a now when target binutils is configured with --enable-shared and searches for PIC version of libiberty.a then it finds it correctly. * Move INC_PR to binutils.inc. Also noticed that several recipes do not use binutils.inc so did not touch them Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-21binutils-cross-sdk_cvs.bb: Use special do_install for cvs version.Khem Raj
* Remove do_stage for binutils_cvs * do_install is special for binutils cvs becasue binutils cvs checks out whole src tree hence it can not use autotools install funciton because that will install all tools that are in sourceware src repo. We only want all-ld all-binutils and all-gas. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-05-05binutils: Convert to non-legacy stagingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05binutils-cross: Convert to non-legacy stagingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-04-12recipes: move checksums to recipes from checksums.ini, part 2 manual adjustementMartin Jansa
* all: multiple checked items in SRC_URI (needs name= param) * other fixes like non-existent URL, checksums moved ot .inc or included .bb (ie for -native) * ... * tested with micro/micro-uclibc/Angstrom/SHR with SOURCE_MIRROR_FETCH="True" (ignoring COMPATIBLE_* * also tested -c fetch with s/SRC_URI_append_[^ ]*/SRC_URI_append/g and s/SRC_URI_[^ ]*/SRC_URI_append/g to catch all URLs used only for distro/machine/virtual override (see http://build.shr-project.org/tests/jama/SRC_URI.removeOverrides.patch) * in case I downloaded different checksum then what was in checksums.ini I used the old one from checksums.ini and put my checksum in comment * I'll send to ML list of recipes which cannot be downloaded (weren't converted) and where I got different checksums Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-04-12recipes: move checksums to recipes from checksums.iniMartin Jansa
* fetch all *.bb with patched utils.bbclass appending all checksums found only in checksums.ini to recipe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>