aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils
AgeCommit message (Collapse)Author
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>
2010-01-21binutils_2.17.bb: Fix setscene of binutils-cross-sdk_2.17, switch ↵Bernhard Kaindl
binutils_2.17.bb to INC_PR * All of the binutils-cross-sdk_*.bb recipes rely on their binutils_*.bb recipe to define INC_PR, but binutils_2.17.bb does not define it, so setscene of binutils-cross-sdk_2.17 fails because it does a mkdir of work/.../binutils-cross-sdk-2.17-\$\{INC_PR\}.1/ which causes an abort when trying to find the setscene scripts later. Fix this by switching binutils_2.17.bb to INC_PR like silbings have done. Signed-off-by: Bernhard Kaindl <bernhard.kaindl@gmx.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-01-04binutils-2.20: Fix cross native build when using same version on buildKhem Raj
machine. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-12-28binutils-2.18: fix ld segfault when building Qt 4.6.0 on powerpcJeremy Lainé
2009-12-28binutils-2.20: add patch for ld segfault on powerpcJeremy Lainé
2009-12-09binutils-2.20: Dont apply binutils-arm-pr7093 patch.Khem Raj
* Delete the patches which are not applied to 2.20 recipes. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-11-01Revert "binutils-cross-sdk: Avoid QA error on building"Holger Hans Peter Freyther
This reverts commit b294033116a6a4f33d1b1ec9f8256adaf7374298. This patch is no longer needed as .a files are no longer stripped.
2009-10-22binutils-cross-sdk: Avoid QA error on buildingHolger Hans Peter Freyther
On a x86-64 build host trying to build meta-toolchain for mips ended up with a .debug dir in the cross directory. Fix the issue by placing this directory in the -dbg package
2009-10-22binutils-2.20.bb: Fix compilation error with missing bracesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-16binutils-2.20: Add recipes for 2.20 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-13binutils-sdk: fix fallout of the strip-staic-libs thingKoen Kooi
2009-10-06binutils-cvs: Refresh binutils-uclibc-300-012_check_ldrunpath_length.patch ↵Khem Raj
with latest CVS. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-09-18apply patch from drow to fix linking of thumb binariesPhil Blundell