diff mbox series

[langdale,6/6] arm-bsp/uefi_capsule: Move UEFI capsule to IMGDEPLOYDIR

Message ID 20230228144152.17041-7-gowtham.sureshkumar@arm.com
State New
Headers show
Series Add UEFI capsule generation support | expand

Commit Message

Gowtham Suresh Kumar Feb. 28, 2023, 2:41 p.m. UTC
From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>

The UEFI capsule generated is in the incorrect build directory.
This patch copies it to IMGDEPLOYDIR.

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
---
 meta-arm/classes/uefi_capsule.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-arm/classes/uefi_capsule.bbclass b/meta-arm/classes/uefi_capsule.bbclass
index cf708412..690e7af4 100644
--- a/meta-arm/classes/uefi_capsule.bbclass
+++ b/meta-arm/classes/uefi_capsule.bbclass
@@ -43,7 +43,7 @@  IMAGE_CMD:uefi_capsule(){
     envsubst < ${UEFI_CAPSULE_CONFIG} > ./${MACHINE}-capsule-update-image.json
 
     ${STAGING_DIR_NATIVE}/usr/bin/edk2-BaseTools/BinWrappers/PosixLike/GenerateCapsule \
-    -e -o ${UEFI_FIRMWARE_BINARY}.${CAPSULE_EXTENSION} -j \
+    -e -o ${IMGDEPLOYDIR}/${UEFI_FIRMWARE_BINARY}.${CAPSULE_EXTENSION} -j \
     ${MACHINE}-capsule-update-image.json
 
     # Remove the firmware to avoid contamination of IMGDEPLOYDIR