]> code.ossystems Code Review - openembedded-core.git/commit
binutils: Use alternatives for the binutils-symlinks package.
authorPeter Seebach <peter.seebach@windriver.com>
Wed, 9 Oct 2013 00:03:57 +0000 (19:03 -0500)
committerSaul Wold <sgw@linux.intel.com>
Thu, 7 Nov 2013 23:20:02 +0000 (15:20 -0800)
commit1395aefcaeac94dd0e6ed3a718b7e58dd43b355e
treeab0f2bcf3591a41c8b62e75632a76f889178aac3
parent1dbd65b4d14319e784a66776c1e9943d0179d3ee
binutils: Use alternatives for the binutils-symlinks package.

The ar and strings utilities are provided as alternatives, but
the rest of binutils is being done with binutils-symlinks. This
has the side effect that if you want "as", and you install
binutils-symlinks to get it, you don't get "ar" from it, because
it's not in the symlinks package.

Solution: Use the same mechanisms for everything, putting
everything in ALTERNATIVES, so installing binutils on a target
produces the expected behavior of having the various utilities in place.
(We do this only for class-target, though.)

Issues: The "embedspu" and "ld.gold" binaries may or may not exist,
but the determination of whether to list them as alternatives is
being made before the point at which we can easily check for them,
so that can produce warnings.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/binutils/binutils.inc