pub fn resolve_git_kernel(
url: &str,
git_ref: &str,
ref_kind: GitRefKind,
cli_label: &str,
mp: Option<&FetchProgress>,
force: bool,
clean: bool,
cpu_cap: Option<CpuCap>,
extra_kconfig: Option<&str>,
) -> Result<PathBuf>