mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
ti-sci-fw: make dependency on meta-ti-extras soft
Replace "require" with "include" to load ti-paths.inc and not break parsing when meta-ti-extras is not in the BBLAYERS list. As ti-paths.inc is only needed to define TI_K3_SECDEV_INSTALL_DIR for ti-k3-secdev when TI_SECURE_DEV_PKG_K3 is not set and building for K3 HS platforms. Since ti-k3-secdev resides in meta-ti-extras, the soft dependency will still work fine and give a build error "Nothing PROVIDES 'ti-k3-secdev-native'" when it is needed. Also, since TI_K3_SECDEV_INSTALL_DIR can now be undefined, use d.getVar() to access it ensuring it doesn't break the condition. Reported-by: Daniel Díaz <mrchapp@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
d083ee992f
commit
8e43835c4d
@@ -1,5 +1,5 @@
|
|||||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||||
require recipes-ti/includes/ti-paths.inc
|
include recipes-ti/includes/ti-paths.inc
|
||||||
|
|
||||||
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native virtual/bootloader"
|
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native virtual/bootloader"
|
||||||
DEPENDS:remove:am65xx-evm-k3r5 = "virtual/bootloader"
|
DEPENDS:remove:am65xx-evm-k3r5 = "virtual/bootloader"
|
||||||
@@ -20,7 +20,7 @@ COMPATIBLE_MACHINE:aarch64 = "null"
|
|||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
TI_SECURE_DEV_PKG = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or '${TI_K3_SECDEV_INSTALL_DIR}' }"
|
TI_SECURE_DEV_PKG = "${@ d.getVar('TI_SECURE_DEV_PKG_K3') or d.getVar('TI_K3_SECDEV_INSTALL_DIR') }"
|
||||||
export TI_SECURE_DEV_PKG
|
export TI_SECURE_DEV_PKG
|
||||||
|
|
||||||
SYSFW_SOC ?= "unknown"
|
SYSFW_SOC ?= "unknown"
|
||||||
|
|||||||
Reference in New Issue
Block a user