From: Yann Dirson <[email protected]> This sets up a central switch for OP-TEE operation, activating support in all dependent recipes at the same time:
- u-boot - trusted-firmware-a - kernel (not part of this patch, has to be implemented separately) Signed-off-by: Yann Dirson <[email protected]> --- recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 + recipes-bsp/u-boot/u-boot%.bbappend | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 638d53f..9887b6e 100644 --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend @@ -20,5 +20,6 @@ OPTEE_OEMAKE ?= " \ EXTRA_OEMAKE_append = " ${PACKAGECONFIG_CONFARGS}" PACKAGECONFIG[optee] = "${OPTEE_OEMAKE},,optee-os" +PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'optee', d)}" TFA_SPD = "${@bb.utils.contains('PACKAGECONFIG', 'optee', 'opteed', '', d)}" diff --git a/recipes-bsp/u-boot/u-boot%.bbappend b/recipes-bsp/u-boot/u-boot%.bbappend index 767df5f..d947815 100644 --- a/recipes-bsp/u-boot/u-boot%.bbappend +++ b/recipes-bsp/u-boot/u-boot%.bbappend @@ -22,3 +22,4 @@ OPTEE_OEMAKE ?= " TEE=${DEPLOY_DIR_IMAGE}/optee/tee.elf" EXTRA_OEMAKE_append = " ${PACKAGECONFIG_CONFARGS}" PACKAGECONFIG[optee] = "${OPTEE_OEMAKE},,optee-os" +PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', 'optee', d)}" -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53247): https://lists.yoctoproject.org/g/yocto/message/53247 Mute This Topic: https://lists.yoctoproject.org/mt/82316322/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
