From 3356df9a6ad0d0ff34ebee961192b4845b4a8800 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 22 Mar 2022 17:39:45 +0100
Subject: [PATCH] oniro-image.bbclass: update C61 targets

Make sure we explicitly set up the WKS file for both C61 targets
after the target rename.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta-oniro-core/classes/oniro-image.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oniro-core/classes/oniro-image.bbclass b/meta-oniro-core/classes/oniro-image.bbclass
index cbf3e70d..a21a06b7 100644
--- a/meta-oniro-core/classes/oniro-image.bbclass
+++ b/meta-oniro-core/classes/oniro-image.bbclass
@@ -48,7 +48,8 @@ WKS_FILE_DEPENDS:qemux86 += "ovmf"
 WKS_FILE:qemu-generic-arm64 = "x-qemu-efi-disk.wks.in"
 IMAGE_FSTYPES:qemu-generic-arm64 += "wic wic.qcow2"
 
-WKS_FILE:seco-imx8mm-c61 ?= "x-imx-uboot-bootpart.wks.in"
+WKS_FILE:seco-imx8mm-c61-2gb ?= "x-imx-uboot-bootpart.wks.in"
+WKS_FILE:seco-imx8mm-c61-4gb ?= "x-imx-uboot-bootpart.wks.in"
 
 #
 # Deploy boot partition artifacts to the root partition. This is part of the
-- 
GitLab