]> code.ossystems Code Review - openembedded-core.git/commit
libtool-cross: Handle ccache sstate 'infection' issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Aug 2018 10:10:15 +0000 (10:10 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 22:13:08 +0000 (22:13 +0000)
commitee6a2e0ccb11e5f5267bc2e406203c78b0443415
tree26741be13e3d5079c62b4b2e9b0b45efdc7b0471
parentc7c4920fc287bdb5f7a0bca7b2ec2ab7a43f58fd
libtool-cross: Handle ccache sstate 'infection' issues

On a system without ccache, f you:

INHERIT += "ccache"
bitbake libtool-cross
<remove INHERIT>
bitbake apmd

then it fails due to being unable to find ccache. The references to ccache are
coded into libtool-cross but the sstate checksum doesn't reflect this due to the
way the class is coded (output should be the same regardless).

The simplest solution is to remove references to ccache from the libtool script.
The output then works regardless of whether ccache is present or not. The
libtool-cross script is only used in a handful of cases (most of the time its
dynamically generated by autoconf) so any performance issue is minor.

(From OE-Core rev: ed550a49d2114c56e5bc033ecd0e83073d2d4067)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb