func appFromPaths(t *target.Target) []string { return []string{ /* <app>.elf */ builder.AppElfPath(t.Name(), builder.BUILD_NAME_APP, t.App().Name()), /* <app>.img */ builder.AppImgPath(t.Name(), builder.BUILD_NAME_APP, t.App().Name()), /* manifest.json */ builder.ManifestPath(t.Name(), builder.BUILD_NAME_APP, t.App().Name()), } }
func loaderFromPaths(t *target.Target) []string { if t.LoaderName == "" { return nil } return []string{ /* <loader>.elf */ builder.AppElfPath(t.Name(), builder.BUILD_NAME_LOADER, t.Loader().Name()), /* <app>.img */ builder.AppImgPath(t.Name(), builder.BUILD_NAME_LOADER, t.Loader().Name()), } }