diff mbox series

[3/3] rauc-conf: adjust PACKAGE_ARCH only when using the demo

Message ID 20250530172156.7199-3-twoerner@gmail.com
State New
Headers show
Series [1/3] refactor mesa packageconfig | expand

Commit Message

Trevor Woerner May 30, 2025, 5:21 p.m. UTC
Make setting the PACKAGE_ARCH occur only when the user has enabled the
rk-rauc-demo feature.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 .../rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Quentin Schulz June 2, 2025, 10:25 a.m. UTC | #1
Hi Trevor,

On 5/30/25 7:21 PM, Trevor Woerner via lists.yoctoproject.org wrote:
> Make setting the PACKAGE_ARCH occur only when the user has enabled the
> rk-rauc-demo feature.
> 
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

I assume we want that for walnascar as well? (i saw the patch for 
scarthgap already :) )

Thanks!
Quentin
diff mbox series

Patch

diff --git a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
index e19db234b9b5..323b63b01f40 100644
--- a/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
+++ b/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
@@ -1,6 +1,6 @@ 
 inherit rk-rauc-demo-features-check
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
+PACKAGE_ARCH:rk-rauc-demo = "${MACHINE_ARCH}"
 
 FILESEXTRAPATHS:prepend:rk-rauc-demo := "${THISDIR}/files:"