]> code.ossystems Code Review - openembedded-core.git/commit
create_spdx: ensure is_work_shared() is unique
authorSaul Wold <Saul.Wold@windriver.com>
Wed, 17 Nov 2021 18:08:13 +0000 (10:08 -0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 22 Nov 2021 03:18:45 +0000 (11:18 +0800)
commit1d350fd2a0db57617fbc62eb1d65f3ffa2667551
treef91ce367f30e7d2e1a4bd4c135a87fa4abe0e66f
parent8d7a88bdee734df527a0ed954a25f27ac975071f
create_spdx: ensure is_work_shared() is unique

There is a function with the same name is_work_shared() in the archiver class
this causes a conflict when both classes are included. Use work-shared as the
check in WORKDIR to allow for other packages beyond the kernel and gcc that
use a common shared-work source directory.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18eab77ee65c73b17225e69c7ba446ab1c69fa92)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/create-spdx.bbclass