aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils
Commit message (Collapse)AuthorAgeFilesLines
* binutils: Update libtool macros to reflect --with-sysroot -> ↵Khem Raj2010-10-222-69/+65
| | | | | | | | | | --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>
* binutils.inc: Use anon python to grok CONFIGUREOPTSKhem Raj2010-10-201-2/+6
| | | | | | | | | | * 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>
* binutils: bump INC_PR to force rebuildKoen Kooi2010-10-201-1/+1
|
* binutils.inc: Dont filter out all --with-sysroot stringsKhem Raj2010-10-201-1/+1
| | | | | | | | * 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>
* binutils.inc: Filter out --with-sysroot for target binutilsKhem Raj2010-10-191-1/+1
| | | | | | | * 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>
* Reverse the order of OVERRIDESChris Larson2010-10-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* binutils-cross-sdk.inc: Do not install ${D}${infodir}/dirKhem Raj2010-10-111-0/+3
| | | | | | | * 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>
* binutils_2.20.1.bb: Updates to use libtool 2.4 macrosKhem Raj2010-10-102-2/+31176
| | | | | | | | | * 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>
* binutils : moved unused files to obsolete dirFrans Meulenbroeks2010-10-079-801/+0
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* binutils_2.20.1.bb: GCC 4.5 causes more warnings disable warnings during ↵Khem Raj2010-10-051-1/+2
| | | | | | binutils build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-cross.inc: Enable 64-bit bfd when configured for mips64/mips64elKhem Raj2010-09-271-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils_cvs.bb: Use FILESPATHPKGKhem Raj2010-09-251-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils_2.20.1.bb: Add patch to fix ld sysrootKhem Raj2010-09-232-1/+38
| | | | | | | 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>
* binutils.inc: Drop spurious CC definition.Tom Rini2010-08-121-2/+0
| | | | | | | 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>
* binutils: Clean out unneeded do_stage functionsRichard Purdie2010-08-0611-108/+0
| | | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-cross.inc: Dont install duplicate copies of tools create relative ↵Khem Raj2010-08-031-15/+18
| | | | | | | | | | 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>
* binutils_2.20.1: commented out enabling for nios2Frans Meulenbroeks2010-07-221-1/+1
| | | | | | | 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>
* toolchain: Remove references to CROSS_DIRKhem Raj2010-07-221-10/+10
| | | | | | | | | | | * 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>
* binutils: added COMPATIBLE_TARGET_SYSFrans Meulenbroeks2010-07-213-0/+6
| | | | | | | | 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>
* binutils_2.20.1.bb: Remove redundantly added patch=1 its not needed anymoreKhem Raj2010-07-091-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils 2.20.1: added patches to support nios2Frans Meulenbroeks2010-07-093-0/+41681
| | | | Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
* binutils 2.17.50.0.12: added nios2 supportFrans Meulenbroeks2010-07-063-0/+41596
| | | | | | | | | | | | | | 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>
* recipes: Punt use of patch=1 and use striplevel=n instead of pnumKhem Raj2010-07-011-11/+11
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-cross-sdk: add 2.20.1Koen Kooi2010-06-251-0/+4
|
* binutils-cross-sdk cvs: fix PVKoen Kooi2010-06-251-0/+3
|
* binutils_2.18.atmel.1.0.1.bb : add latest binutils for AVR32Graeme Gregory2010-06-162-0/+26
|
* binutils-2.20.1: Update libtool files so cross native builds are correct.Khem Raj2010-06-152-1/+475
| | | | | | | | | | | | * 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>
* binutils-cross: Build with --enable-shared and install libiberty-pic.aKhem Raj2010-06-0518-33/+22
| | | | | | | | | | | | | | | | | | | | | * 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>
* Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson2010-05-2523-195/+195
| | | | | | | | 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>
* Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson2010-05-2523-195/+195
| | | | | | | | 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>
* binutils-cross-sdk_cvs.bb: Use special do_install for cvs version.Khem Raj2010-05-212-13/+31
| | | | | | | | | | | | * 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>
* binutils: Convert to non-legacy stagingRichard Purdie2010-05-051-14/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* binutils-cross: Convert to non-legacy stagingRichard Purdie2010-05-051-14/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* recipes: move checksums to recipes from checksums.ini, part 2 manual adjustementMartin Jansa2010-04-122-36/+21
| | | | | | | | | | | | | | | | | | * 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>
* recipes: move checksums to recipes from checksums.iniMartin Jansa2010-04-1243-0/+153
| | | | | | | * 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>
* binutils: Add x86_64_i386_biarch patch for 2.20 & 2.20.1Vladimir Sorokin2010-04-082-2/+4
| | | | | Signed-off-by: Vladimir Sorokin <sorokin@altell.ru> Signed-off-by: Roman I Khimov <khimov@altell.ru>
* binutils: add 2.20.1Phil Blundell2010-03-0810-0/+305
|
* binutils-2.20: Forward port binutils-x86_64_i386_biarch.patch to 2.20Bernhard Reutner-Fischer2010-02-101-1/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils_2.17.bb: Fix setscene of binutils-cross-sdk_2.17, switch ↵Bernhard Kaindl2010-01-211-1/+2
| | | | | | | | | | | | | | 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>
* binutils-2.20: Fix cross native build when using same version on buildKhem Raj2010-01-042-1/+97
| | | | | | machine. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-2.18: fix ld segfault when building Qt 4.6.0 on powerpcJeremy Lainé2009-12-282-2/+18
|
* binutils-2.20: add patch for ld segfault on powerpcJeremy Lainé2009-12-282-2/+280
|
* binutils-2.20: Dont apply binutils-arm-pr7093 patch.Khem Raj2009-12-094-83/+1
| | | | | | | * 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>
* Revert "binutils-cross-sdk: Avoid QA error on building"Holger Hans Peter Freyther2009-11-011-3/+0
| | | | | This reverts commit b294033116a6a4f33d1b1ec9f8256adaf7374298. This patch is no longer needed as .a files are no longer stripped.
* binutils-cross-sdk: Avoid QA error on buildingHolger Hans Peter Freyther2009-10-221-0/+3
| | | | | | | 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
* binutils-2.20.bb: Fix compilation error with missing bracesKhem Raj2009-10-222-0/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-2.20: Add recipes for 2.20 releaseKhem Raj2009-10-1617-0/+414
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils-sdk: fix fallout of the strip-staic-libs thingKoen Kooi2009-10-131-0/+2
|
* binutils-cvs: Refresh binutils-uclibc-300-012_check_ldrunpath_length.patch ↵Khem Raj2009-10-061-9/+10
| | | | | | with latest CVS. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* apply patch from drow to fix linking of thumb binariesPhil Blundell2009-09-182-1/+57
|