refactor build/install/run pipeline

This commit is contained in:
Li Jie
2025-09-06 17:58:40 +08:00
parent da9865104f
commit 7cad146013
4 changed files with 214 additions and 213 deletions

View File

@@ -18,8 +18,8 @@ type OutputCfg struct {
DirectGen bool // True if can generate firmware directly without intermediate file
}
// GenOutputs generates appropriate output paths based on the configuration
func GenOutputs(conf *Config, pkgName string, multiPkg bool, emulator, binFmt string) (OutputCfg, error) {
// genOutputs generates appropriate output paths based on the configuration
func genOutputs(conf *Config, pkgName string, multiPkg bool, emulator, binFmt string) (OutputCfg, error) {
var cfg OutputCfg
// Calculate binary extension and set up format info