diff mbox series

[meta-ti,3/3] ti-sci-fw: sets TI_K3_SECDEV_INSTALL_DIR default value

Message ID 20230116121626.885219-3-jose.quaresma@foundries.io
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,1/3] ti-k3-secdev: move from meta-ti-extras to meta-ti-bsp | expand

Commit Message

Jose Quaresma Jan. 16, 2023, 12:16 p.m. UTC
The TI_K3_SECDEV_INSTALL_DIR is defined on the meta-ti-extras layer
so when the layer is not used the variable is undefined.
For such cases we can use default value that is the same defined
on the recipes-ti/includes/ti-paths.inc

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
 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 c99cd660..8e88b58b 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
@@ -1,4 +1,6 @@ 
 require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+# set a default value for TI_K3_SECDEV_INSTALL_DIR
+export TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${datadir}/ti/ti-k3-secdev"
 include recipes-ti/includes/ti-paths.inc
 
 DEPENDS = "openssl-native u-boot-mkimage-native dtc-native virtual/bootloader"