]> 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 21:14:47 +0000 (21:14 +0000)
commit27642449f95e38598f9c83948ce109c5891e5877
tree385873119aaf92f31c8089f9802a03c592db822a
parente0db1beb6db624b3b743e780c298c63a1e177cfb
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