]> code.ossystems Code Review - openembedded-core.git/commit
sstate: add support for caching shared workdir tasks
authorMichael Ho <Michael.Ho@bmw.de>
Thu, 29 Nov 2018 12:21:36 +0000 (14:21 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jan 2019 12:36:02 +0000 (12:36 +0000)
commit2ea906d21b6ff7eacf9fb5f2d0a6597bbbbcbdb1
treed04da2caaa20368c35739c45e5bd6502ad1c34f8
parent06669cf85c46240901db86e22297b0814e76437e
sstate: add support for caching shared workdir tasks

The sstate bbclass uses workdir as a hardcoded string in path
manipulations. This means that the sstate caching mechanism does
not work for the work-shared directory which the kernel uses to
share its build configuration and source files for out of tree
kernel modules.

This commit modifies the path manipulation mechanism to use the
work-shared directory if detected in the paths when handling the
sstate cache packages.

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass