initial commit

This commit is contained in:
wt committed 2026-03-19 14:07:10 +07:00
commit 85d50ee958
26 files changed
+2146

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
package utils
import "os"
func GetTargetFilename(typ string) string {
switch typ {
case "kernel":
return os.Getenv("KERNEL_FILE")
case "dtb":
return os.Getenv("DTB_FILE")
case "uboot":
return os.Getenv("UBOOT_FILE")
case "uboot_bin":
return os.Getenv("UBOOT_BIN_FILE")
default:
return ""
}
}