create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: cb30a6cfa58072bbf5f5def36103fbcac920e168)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt
2022-03-14 15:16:43 +01:00
committed by Richard Purdie
parent 80ad825f6a
commit 688599a039

View File

@@ -600,7 +600,7 @@ python do_create_spdx_setscene () {
}
addtask do_create_spdx_setscene
do_create_spdx[dirs] = "${SPDXDEPLOY} ${SPDXWORK}"
do_create_spdx[dirs] = "${SPDXWORK}"
do_create_spdx[cleandirs] = "${SPDXDEPLOY} ${SPDXWORK}"
do_create_spdx[depends] += "${PATCHDEPENDENCY}"
do_create_spdx[deptask] = "do_create_spdx"