diff mbox series

[v4,2/2] package/qoriq-rcw: Generate RCW from templates

Message ID 20250910203826.41407-3-vjardin@free.fr
State New
Headers show
Series board/lx2160acex7: new platform | expand

Commit Message

Vincent Jardin Sept. 10, 2025, 8:38 p.m. UTC
Solidrun has started a framework to generate the RCW from templates.
Let's leverage it when it is available. If not, let's skip it.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
---
 package/qoriq-rcw/qoriq-rcw.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/package/qoriq-rcw/qoriq-rcw.mk b/package/qoriq-rcw/qoriq-rcw.mk
index 35602e41e4..d6bdd9cd69 100644
--- a/package/qoriq-rcw/qoriq-rcw.mk
+++ b/package/qoriq-rcw/qoriq-rcw.mk
@@ -61,6 +61,7 @@  else ifneq ($(QORIQ_RCW_INTREE),)
 QORIQ_RCW_PLATFORM = $(firstword $(subst /, ,$(QORIQ_RCW_INTREE)))
 
 define HOST_QORIQ_RCW_BUILD_CMDS
+	if [ -e "$(@D)/GenerateSRConfigs.sh" ]; then (cd $(@D) && ./GenerateSRConfigs.sh); fi
 	$(MAKE) -C $(@D)/$(QORIQ_RCW_PLATFORM)
 endef