]> code.ossystems Code Review - openembedded-core.git/commitdiff
deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 14 Mar 2022 14:16:44 +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/deploy.bbclass

index 737c26122b0d045cd9738dc7ffe9e3fabba355ae..7fbffe996be0501dee2da5fe7c94bc0da0a820a2 100644 (file)
@@ -7,6 +7,6 @@ python do_deploy_setscene () {
     sstate_setscene(d)
 }
 addtask do_deploy_setscene
-do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+do_deploy[dirs] = "${B}"
 do_deploy[cleandirs] = "${DEPLOYDIR}"
 do_deploy[stamp-extra-info] = "${MACHINE_ARCH}"