]> 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>
Mon, 28 Jan 2019 16:56:28 +0000 (16:56 +0000)
commitf57d83c72b5f53fb10bc8377862668580d331a8c
tree056972b29aa4fbd3212fe6d88704c1572f1e4033
parent30b68e820d641c837b6f60c7b6c21ea987804e8e
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.

(From OE-Core rev: 27642449f95e38598f9c83948ce109c5891e5877)

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