Home | History | Annotate | Download | only in build

Lines Matching refs:targetArch

27 func Image(targetOS, targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir,
29 builder, err := getBuilder(targetOS, targetArch, vmType)
42 return builder.build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, cmdlineFile, sysctlFile, config)
45 func Clean(targetOS, targetArch, vmType, kernelDir string) error {
46 builder, err := getBuilder(targetOS, targetArch, vmType)
58 build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir,
63 func getBuilder(targetOS, targetArch, vmType string) (builder, error) {
65 case targetOS == "linux" && targetArch == "amd64" && vmType == "gvisor":
67 case targetOS == "linux" && targetArch == "amd64" && (vmType == "qemu" || vmType == "gce"):
69 case targetOS == "fuchsia" && (targetArch == "amd64" || targetArch == "arm64") && vmType == "qemu":
71 case targetOS == "akaros" && targetArch == "amd64" && vmType == "qemu":
74 return nil, fmt.Errorf("unsupported image type %v/%v/%v", targetOS, targetArch, vmType)