aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils
AgeCommit message (Collapse)Author
2011-09-10binutils-cross-sdk_2.21.bb,binutils-cross_2.21.bb: Use binutils_2.21.bb ↵shr/testing2011.1Khem Raj
instead of git version Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-10binutils: Update from 2.21 to 2.21.1aSylvain 'GarthPS' Paré
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. Use this incident to update the package also to the new version 2.21.1a. Due to this one patch had to be regenerated and was taken from OE-core [2]. This patch is build tested using `angstrom-2010.x` and `minimal{,-uclibc}` for `MACHINE = "beagleboard"`. [1] http://nickclifton.livejournal.com/9067.html [2] http://git.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch?id=4810404f22d7cf8849dc32da68dd33a156cac407 Signed-off-by: Sylvain 'GarthPS' Paré <sylvain.pare@gmail.com> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2011-09-10binutils.inc: Switch to TARGET_PREFIX not TARGET_SYSTom Rini
When TARGET_PREFIX and TARGET_SYS didn't match up, the symlinks and update-alternatives weren't working. TARGET_PREFIX is what we use when configuring so it's what we should be using here. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-09-10binutils-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-09-10binutils_2.21: Fix QA errors due to wrong RPATHKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-10binutils_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>
2011-09-10binutils_2.21.bb: Dont apply libtool-update.patch at allKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-10binutils_2.21.bb: Fix the build when using libtool 2.4Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-10binutils-2.21: Add recipes for binutils 2.21 releaseKhem 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>
2010-04-08binutils: Add x86_64_i386_biarch patch for 2.20 & 2.20.1Vladimir Sorokin
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-03-08binutils: add 2.20.1Phil Blundell
2010-02-10binutils-2.20: Forward port binutils-x86_64_i386_biarch.patch to 2.20Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>