diff mbox series

[isar-cip-core,v2,3/3] swupdate.bbclass: weak default assignment for SWU_HW_COMPAT

Message ID 20240207134505.3286003-4-Quirin.Gylstorff@siemens.com (mailing list archive)
State Changes Requested
Headers show
Series Reduce difference to debian | expand

Commit Message

Gylstorff Quirin Feb. 7, 2024, 1:44 p.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

This allows to set SWU_HW_COMPAT in recipe-core/images/swupdate.inc
and in downstream layers.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 classes/swupdate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass
index 403bdef..20589f3 100644
--- a/classes/swupdate.bbclass
+++ b/classes/swupdate.bbclass
@@ -20,7 +20,7 @@  SWU_ROOTFS_PARTITION_NAME ?= "${SWU_ROOTFS_NAME}.${SWU_ROOTFS_TYPE}${@get_swu_co
 SWU_VERSION ?= "0.2"
 SWU_NAME ?= "cip software update"
 # space separated list of supported hw. Leave empty to leave out
-SWU_HW_COMPAT ?= ""
+SWU_HW_COMPAT ??= ""
 
 SWU_EBG_UPDATE ?= ""
 SWU_EFI_BOOT_DEVICE ?= "/dev/disk/by-uuid/4321-DCBA"