[Buildroot] [PATCH] package/qoriq-rcw: Generate RCW from templates

Vincent Jardin vjardin at free.fr
Wed Sep 10 11:35:44 UTC 2025


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 at free.fr>
---
 package/qoriq-rcw/qoriq-rcw.mk | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.49.0



More information about the buildroot mailing list