]> 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>
Tue, 14 Aug 2018 10:36:22 +0000 (11:36 +0100)
commited550a49d2114c56e5bc033ecd0e83073d2d4067
treec72b83e279df727815dccdafb9c272554c7a0124
parent05f6042a40bb772f7ce8d6819c5b2937d8c9808d
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.

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