summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-11-02 18:16:23 -0400
committerRyan Eatmon <reatmon@ti.com>2022-11-09 12:06:46 -0600
commit014188d53e6a49e5a4ebe9218184ff23212be64a (patch)
treebbd9b931c9542be365f6c544f8fbedd59ba16046
parent2f8ce3d34564c3bb9405b39009fc44e0d882e659 (diff)
downloadmeta-ti-014188d53e6a49e5a4ebe9218184ff23212be64a.tar.gz
ti-sci-fw: use getVar() to check if TI_SECURE_DEV_PKG_K3 is defined
Otherwise undefined variable is returned literally as ${TI_SECURE_DEV_PKG_K3} and the condition won't work. Cc: Andrew Davis <afd@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Acked-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
index 866cd7b2..e5dcdd61 100644
--- a/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+++ b/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
@@ -20,7 +20,7 @@ COMPATIBLE_MACHINE_aarch64 = "null"
20 20
21PACKAGE_ARCH = "${MACHINE_ARCH}" 21PACKAGE_ARCH = "${MACHINE_ARCH}"
22 22
23TI_SECURE_DEV_PKG = "${@ '${TI_SECURE_DEV_PKG_K3}' or '${TI_K3_SECDEV_INSTALL_DIR}' }" 23TI_SECURE_DEV_PKG = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or '${TI_K3_SECDEV_INSTALL_DIR}' }"
24export TI_SECURE_DEV_PKG 24export TI_SECURE_DEV_PKG
25 25
26SYSFW_SOC ?= "unknown" 26SYSFW_SOC ?= "unknown"