From a37e69820b3d7a4e8b556c50e2de550fe4755789 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 1 Mar 2023 02:35:34 -0800 Subject: [PATCH] u-boot: Always depend on openSBI do_deploy Signed-off-by: Khem Raj --- recipes-bsp/u-boot/u-boot_%.bbappend | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend index 463c9df..1ae64a8 100644 --- a/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -47,12 +47,16 @@ do_deploy:append:freedom-u540() { } # Only add opensbi dependency if opensbi is in image deps -do_compile[depends] += "${@bb.utils.contains('EXTRA_IMAGEDEPENDS', 'opensbi', 'opensbi:do_deploy', '',d)}" +do_compile[depends] += "opensbi:do_deploy" do_compile:prepend:ae350-ax45mp() { export OPENSBI=${DEPLOY_DIR_IMAGE}/fw_dynamic.bin } +do_compile:prepend:freedom-u540() { + export OPENSBI=${DEPLOY_DIR_IMAGE}/fw_dynamic.bin +} + do_configure:prepend:ae350-ax45mp() { if [ -f "${WORKDIR}/tftp-mmc-boot.txt" ]; then sed -i -e 's,@SERVERIP@,${TFTP_SERVER_IP},g' ${WORKDIR}/tftp-mmc-boot.txt