Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
instead of git version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
* 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>
|
|
--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>
|
|
* 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.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>
|
|
* 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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
binutils build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
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>
|
|
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 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>
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
|
|
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>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
* 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>
|
|
* 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>
|