]> code.ossystems Code Review - openembedded-core.git/commit
ccache.bbclass: Use ccache-native and disable ccache for native recipes
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 19 Jan 2021 09:23:44 +0000 (01:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jan 2021 00:41:39 +0000 (00:41 +0000)
commit631bbd4896882ba2acbe5bc85bc90ab7abc794ef
treee7185ff9a3fff1aeed7af048932f8def5cae8d27
parent1b659623430e1a6e6dd266e65bab7ca8155a7138
ccache.bbclass: Use ccache-native and disable ccache for native recipes

Since host's ccache is not reliable, so disable ccache for native recipes and
use ccache-native for other types of recipes. We need disable ccache for native
recipes is because ccache-native now depends on cmake-native which causes
circular dependencies, and it's not easy to break the circular.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ccache.bbclass
meta/lib/oeqa/selftest/cases/buildoptions.py