diff mbox series

[master] ti-sci-fw: Allow empty SPDX deploy artifacts

Message ID 20261112193230.3112236-1-denis@denix.org
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [master] ti-sci-fw: Allow empty SPDX deploy artifacts | expand

Commit Message

Denys Dmytriyenko Nov. 12, 2026, 7:32 p.m. UTC
From: "Denys Dmytriyenko (TI)" <denys@konsulko.com>

OE-Core has added support for deploy tasks to create SPDX [0]. Some
recipes don't deploy anything and need to set SPDX_DEPLOY_ALLOW_EMPTY
so that it doesn't generate an error, similar to [1].

[0] https://git.openembedded.org/openembedded-core/commit/?id=1b77fe51ec77ae0bdea016fe4bbe76ac73b1f3d1
[1] https://git.openembedded.org/openembedded-core/commit/?id=34991d0ce3cc5f38dd29e824af7579512d2b917e

Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
---
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 0d724862..6ee9992f 100644
--- a/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -9,6 +9,8 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 PV = "${TI_SYSFW_VERSION}"
 PR = "${INC_PR}.0"
 
+SPDX_DEPLOY_ALLOW_EMPTY:task-deploy = "1"
+
 do_install() {
 	install -d ${D}${nonarch_base_libdir}/firmware/ti-sysfw
 	install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw