]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:16:00 +0000 (21:16 +0000)
commitaa83cb5264554dd1963042f905688afc796e98d0
tree9647388f4f5ed43a06ebf7048a1ba5a89e5124e1
parent99f505422bc06ba26ac39baa6138669fabfb4fea
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>
meta/classes/sstate.bbclass