Creating my own build template for embedded arm system

Godot Version

Godot 4.3.stable.official [77dcf97d8]

Question

So I am looking for any resources or examples that would aid me in creating my own build template using the above Godot version to export my games to be played on an arm based handheld running MiyooCFW. An SDK is provided for this system so and I have been able to cross compile my own source using it but I am unsure how I can integrate this SDK into Godot so I may export my games using it.

What I’ve Tried

I have looked through the official doc and I’ve found it gives an overview for officially supported templates but doesn’t provide doc on the general creation process an export template. I’ve poked around the templates that are downloaded via Editor>Manage Export Templates/what can be found under downloads on godotengine.org and I can’t really make sense of it.

What I’m looking for

I’m just looking for some insight/good resources that might help give me an overview of creating a template myself for Godot 4.X. I’m not entirely sure what would be entailed. Any insight would be much appreciated for anyone who has gone through this process!

Thank you in advance!

Currently you can not port your game to CFW because the godot games need to run on X11 or wayland environment, but the CFW usually does not have such environment. If you are interested, you can join the PortMaster discord channel. They have put great effort to make godot games working on retroid handheld. Hope you can find answer at that place.