pmb/parse/arch.py: add riscv64 -> riscv to kernel carch mapping
This fixes both the default riscv64 kernel APKBUILD "_carch" selection and "pmbootstrap kconfig edit" functionality even after manually corrected "_carch" variable. (native) make menuconfig ../Makefile:609: ../arch/riscv64/Makefile: No such file or directory See also https://github.com/torvalds/linux/tree/master/arch with search for "riscv" Reviewed-by: Clayton Craft <clayton@craftyguy.net> Reviewed-by: Oliver Smith <ollieparanoid@postmarketos.org> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C167858205621.22796.14648808830656459528-0@git.sr.ht%3E
This commit is contained in:
parent
90ae7f3a79
commit
7186673d59
|
@ -64,7 +64,8 @@ def alpine_to_kernel(arch):
|
|||
"aarch64*": "arm64",
|
||||
"arm*": "arm",
|
||||
"ppc*": "powerpc",
|
||||
"s390*": "s390"
|
||||
"s390*": "s390",
|
||||
"riscv64*": "riscv"
|
||||
}
|
||||
for pattern, arch_kernel in mapping.items():
|
||||
if fnmatch.fnmatch(arch, pattern):
|
||||
|
|
Loading…
Reference in New Issue