($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: bence.balogh@arm.com
To: meta-arm@lists.yoctoproject.org
Cc: Bence Balogh <bence.balogh@arm.com>
Subject: [PATCH 4/5] arm-bsp/corstone1000-flash-firmware-image: fix capsule dependency issue
Date: Tue, 30 Apr 2024 17:59:23 +0200	[thread overview]
Message-ID: <20240430155924.799192-5-bence.balogh@arm.com> (raw)
In-Reply-To: <20240430155924.799192-1-bence.balogh@arm.com>

From: Bence Balogh <bence.balogh@arm.com>

Signed-off-by: Bence Balogh <bence.balogh@arm.com>
---
 .../recipes-bsp/images/corstone1000-flash-firmware-image.bb    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-arm-bsp/recipes-bsp/images/corstone1000-flash-firmware-image.bb b/meta-arm-bsp/recipes-bsp/images/corstone1000-flash-firmware-image.bb
index 0f5ae011..904d8518 100644
--- a/meta-arm-bsp/recipes-bsp/images/corstone1000-flash-firmware-image.bb
+++ b/meta-arm-bsp/recipes-bsp/images/corstone1000-flash-firmware-image.bb
@@ -85,7 +85,8 @@ create_nopt_image() {
     dd conv=notrunc bs=1 if=${DEPLOY_DIR_IMAGE}/signed_fip-corstone1000.bin of=${B}/${MACHINE}_image.nopt seek=${FIP_OFFSET}
     dd conv=notrunc bs=1 if=${DEPLOY_DIR_IMAGE}/Image.gz-initramfs-${MACHINE}.bin of=${B}/${MACHINE}_image.nopt seek=${KERNEL_OFFSET}
 }
-create_nopt_image[depends] += "mc:firmware:linux-yocto:do_deploy"
+do_image_uefi_capsule[depends] += " linux-yocto:do_deploy"
+do_image_uefi_capsule[mcdepends] += " ${@bb.utils.contains('BBMULTICONFIG', 'firmware', 'mc::firmware:linux-yocto:do_deploy', '', d)}"
 do_image_uefi_capsule[prefuncs] += "create_nopt_image"
 
 do_deploy() {
-- 
2.25.1



  parent reply	other threads:[~2024-04-30 15:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 15:59 [PATCH 0/5] Add back U-Boot capsule generation with fixes bence.balogh
2024-04-30 15:59 ` [PATCH 1/5] arm-bsp/corstone1000-flash-firmware-image: add nopt generation bence.balogh
2024-04-30 15:59 ` [PATCH 2/5] arm/uefi_capsule: use U-Boot for capsule generation bence.balogh
2024-04-30 15:59 ` [PATCH 3/5] arm-bsp/documentation: corstone1000: update capsule generation steps bence.balogh
2024-04-30 15:59 ` bence.balogh [this message]
2024-04-30 15:59 ` [PATCH 5/5] arm-bsp/corstone1000-recovery-image: replace core-image-minimal bence.balogh
2024-05-01  2:06 ` [PATCH 0/5] Add back U-Boot capsule generation with fixes Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240430155924.799192-5-bence.balogh@arm.com \
    --to=bence.balogh@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).