]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
create-spdx-{2.2,3.0}: fix do_create_spdx dependency while spdx include sources
authorHongxu Jia <hongxu.jia@windriver.com>
Wed, 30 Oct 2024 05:07:43 +0000 (22:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2024 12:05:56 +0000 (12:05 +0000)
commitdda4b7ccd416ef370634babd150e944f2aa9116e
tree1e0fa947b02b2352f39fd2c0ae121948c681c798
parenta2f1498f3db44f34599b86221b688e1abf08a3c7
create-spdx-{2.2,3.0}: fix do_create_spdx dependency while spdx include sources

Call function ${@create_spdx_source_deps(d)} or ${create_spdx_source_deps(d)}
along with addtask not working, use task do_create_spdx flag 'depends'
to instead

Move function create_spdx_source_deps to spdx-common.bbclass for both of
create-spdx-2.2.bbclass and create-spdx-3.0.bbclass

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Reviewed-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/create-spdx-2.2.bbclass
meta/classes/create-spdx-3.0.bbclass
meta/classes/spdx-common.bbclass
meta/lib/oe/spdx_common.py