]> code.ossystems Code Review - openembedded-core.git/commitdiff
create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 14 Mar 2022 14:16:43 +0000 (15:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2022 08:38:28 +0000 (08:38 +0000)
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]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx.bbclass

index 5375ef3e34285ba2d7ef3aa4a1f2d72a56064da9..daf99ca676c4f4fec2579da1c2148f00fcc4902a 100644 (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"